﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MusicAcademyDataSet" targetNamespace="http://tempuri.org/MusicAcademyDataSet.xsd" xmlns:mstns="http://tempuri.org/MusicAcademyDataSet.xsd" xmlns="http://tempuri.org/MusicAcademyDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="MusicAcademyConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="MusicAcademyConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.MusicAcademy.Properties.Settings.GlobalReference.Default.MusicAcademyConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AcademyTableAdapter" GeneratorDataComponentClassName="AcademyTableAdapter" Name="Academy" UserDataComponentName="AcademyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Academy" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Academy] WHERE (([ID] = @Original_ID) AND ([academyName] = @Original_academyName))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_academyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="academyName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Academy] ([ID], [academyName]) VALUES (@ID, @academyName);
SELECT ID, academyName FROM Academy WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@academyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="academyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT* FROM dbo.Academy</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Academy] SET [ID] = @ID, [academyName] = @academyName WHERE (([ID] = @Original_ID) AND ([academyName] = @Original_academyName));
SELECT ID, academyName FROM Academy WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@academyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="academyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_academyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="academyName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="academyName" DataSetColumn="academyName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ClassTableAdapter" GeneratorDataComponentClassName="ClassTableAdapter" Name="Class" UserDataComponentName="ClassTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Class" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Class] WHERE (([ID] = @Original_ID) AND ([classNumber] = @Original_classNumber) AND ([floor] = @Original_floor) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_classNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="classNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_floor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="floor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Class] ([classNumber], [floor], [properties], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@classNumber, @floor, @properties, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, classNumber, floor, properties, academyID, creator, createDate, lastEditor, editDate FROM Class WHERE (ID = SCOPE_IDENTITY()) ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@classNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="classNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@floor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="floor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@properties" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="properties" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.Class WHERE academyID=@academyID AND classNumber LIKE @classNumber +N'%' ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.Class" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="classNumber" ColumnName="classNumber" DataSourceName="MusicAcademy.dbo.Class" DataTypeServer="nvarchar(10)" DbType="String" Direction="Input" ParameterName="@classNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumn="classNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Class] SET [classNumber] = @classNumber, [floor] = @floor, [properties] = @properties, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([classNumber] = @Original_classNumber) AND ([floor] = @Original_floor) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, classNumber, floor, properties, academyID, creator, createDate, lastEditor, editDate FROM Class WHERE (ID = @ID) ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@classNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="classNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@floor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="floor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@properties" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="properties" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_classNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="classNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_floor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="floor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Class" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="classNumber" DataSetColumn="classNumber" />
              <Mapping SourceColumn="floor" DataSetColumn="floor" />
              <Mapping SourceColumn="properties" DataSetColumn="properties" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContactTableAdapter" GeneratorDataComponentClassName="ContactTableAdapter" Name="Contact" UserDataComponentName="ContactTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Contact" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Contact] WHERE (([ID] = @Original_ID) AND ((@IsNull_personID = 1 AND [personID] IS NULL) OR ([personID] = @Original_personID)) AND ([firstName] = @Original_firstName) AND ([lastName] = @Original_lastName) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_personID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Contact] ([personID], [firstName], [lastName], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@personID, @firstName, @lastName, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, personID, firstName, lastName, academyID, creator, createDate, lastEditor, editDate FROM Contact WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.Contact</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Contact] SET [personID] = @personID, [firstName] = @firstName, [lastName] = @lastName, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ((@IsNull_personID = 1 AND [personID] IS NULL) OR ([personID] = @Original_personID)) AND ([firstName] = @Original_firstName) AND ([lastName] = @Original_lastName) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, personID, firstName, lastName, academyID, creator, createDate, lastEditor, editDate FROM Contact WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_personID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Contact" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="firstName" DataSetColumn="firstName" />
              <Mapping SourceColumn="lastName" DataSetColumn="lastName" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="personID" DataSetColumn="personID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContactDetailTableAdapter" GeneratorDataComponentClassName="ContactDetailTableAdapter" Name="ContactDetail" UserDataComponentName="ContactDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.ContactDetail" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ContactDetail] WHERE (([ID] = @Original_ID) AND ([value] = @Original_value) AND ([contactID] = @Original_contactID) AND ([contactTypeID] = @Original_contactTypeID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_value" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="value" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_contactID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="contactID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_contactTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contactTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ContactDetail] ([value], [contactID], [contactTypeID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@value, @contactID, @contactTypeID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, value, contactID, contactTypeID, creator, createDate, lastEditor, editDate FROM ContactDetail WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@value" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="value" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@contactID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="contactID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@contactTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contactTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.ContactDetail</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ContactDetail] SET [value] = @value, [contactID] = @contactID, [contactTypeID] = @contactTypeID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([value] = @Original_value) AND ([contactID] = @Original_contactID) AND ([contactTypeID] = @Original_contactTypeID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, value, contactID, contactTypeID, creator, createDate, lastEditor, editDate FROM ContactDetail WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@value" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="value" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@contactID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="contactID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@contactTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contactTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_value" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="value" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_contactID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="contactID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_contactTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contactTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.ContactDetail" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="contactID" DataSetColumn="contactID" />
              <Mapping SourceColumn="value" DataSetColumn="value" />
              <Mapping SourceColumn="contactTypeID" DataSetColumn="contactTypeID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HolidayTableAdapter" GeneratorDataComponentClassName="HolidayTableAdapter" Name="Holiday" UserDataComponentName="HolidayTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Holiday" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Holiday] WHERE (([ID] = @Original_ID) AND ([academyID] = @Original_academyID) AND ([date] = @Original_date) AND ([reason] = @Original_reason) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_reason" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="reason" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Holiday] ([academyID], [date], [reason], [creator], [createDate], [lastEditor], [editDate]) VALUES (@academyID, @date, @reason, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, academyID, date, reason, creator, createDate, lastEditor, editDate FROM Holiday WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@reason" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="reason" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.Holiday</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Holiday] SET [academyID] = @academyID, [date] = @date, [reason] = @reason, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([academyID] = @Original_academyID) AND ([date] = @Original_date) AND ([reason] = @Original_reason) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, academyID, date, reason, creator, createDate, lastEditor, editDate FROM Holiday WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@reason" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="reason" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_reason" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="reason" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Holiday" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="date" DataSetColumn="date" />
              <Mapping SourceColumn="reason" DataSetColumn="reason" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PersonTableAdapter" GeneratorDataComponentClassName="PersonTableAdapter" Name="Person" UserDataComponentName="PersonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Person" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Person] WHERE (([ID] = @Original_ID) AND ([firstName] = @Original_firstName) AND ([lastName] = @Original_lastName) AND ([father] = @Original_father) AND ([shenasnameh] = @Original_shenasnameh) AND ([nationalCode] = @Original_nationalCode) AND ([birthDate] = @Original_birthDate) AND ([address] = @Original_address) AND ([postalCode] = @Original_postalCode) AND ([type] = @Original_type) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="father" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_shenasnameh" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="shenasnameh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nationalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nationalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_birthDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="birthDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_postalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="postalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Person] ([firstName], [lastName], [father], [shenasnameh], [nationalCode], [birthDate], [address], [postalCode], [type], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@firstName, @lastName, @father, @shenasnameh, @nationalCode, @birthDate, @address, @postalCode, @type, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, firstName, lastName, father, shenasnameh, nationalCode, birthDate, address, postalCode, type, academyID, creator, createDate, lastEditor, editDate FROM Person WHERE (ID = SCOPE_IDENTITY()) ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="father" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@shenasnameh" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="shenasnameh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nationalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nationalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@birthDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="birthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@postalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="postalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM Person WHERE (type = @type OR @type=0) AND (academyID = @academyID) AND (firstName LIKE N'%' + @firstName + N'%' OR @firstName = N'') AND (lastName LIKE N'%' + @lastName + N'%' OR @lastName = N'') AND (nationalCode LIKE N'%' + @nationalCode + N'%' OR @nationalCode = N'') ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="type" ColumnName="type" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@type" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="firstName" ColumnName="firstName" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="nvarchar(30)" DbType="String" Direction="Input" ParameterName="@firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="lastName" ColumnName="lastName" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="nvarchar(30)" DbType="String" Direction="Input" ParameterName="@lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nationalCode" ColumnName="nationalCode" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@nationalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="nationalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Person] SET [firstName] = @firstName, [lastName] = @lastName, [father] = @father, [shenasnameh] = @shenasnameh, [nationalCode] = @nationalCode, [birthDate] = @birthDate, [address] = @address, [postalCode] = @postalCode, [type] = @type, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([firstName] = @Original_firstName) AND ([lastName] = @Original_lastName) AND ([father] = @Original_father) AND ([shenasnameh] = @Original_shenasnameh) AND ([nationalCode] = @Original_nationalCode) AND ([birthDate] = @Original_birthDate) AND ([address] = @Original_address) AND ([postalCode] = @Original_postalCode) AND ([type] = @Original_type) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, firstName, lastName, father, shenasnameh, nationalCode, birthDate, address, postalCode, type, academyID, creator, createDate, lastEditor, editDate FROM Person WHERE (ID = @ID) ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="father" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@shenasnameh" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="shenasnameh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@nationalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nationalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@birthDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="birthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@postalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="postalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="father" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_shenasnameh" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="shenasnameh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_nationalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="nationalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_birthDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="birthDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_postalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="postalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="firstName" DataSetColumn="firstName" />
              <Mapping SourceColumn="lastName" DataSetColumn="lastName" />
              <Mapping SourceColumn="father" DataSetColumn="father" />
              <Mapping SourceColumn="shenasnameh" DataSetColumn="shenasnameh" />
              <Mapping SourceColumn="nationalCode" DataSetColumn="nationalCode" />
              <Mapping SourceColumn="birthDate" DataSetColumn="birthDate" />
              <Mapping SourceColumn="type" DataSetColumn="type" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="address" DataSetColumn="address" />
              <Mapping SourceColumn="postalCode" DataSetColumn="postalCode" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Person" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByStarting" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByStarting" GeneratorSourceName="FillByStarting" GetMethodModifier="Public" GetMethodName="GetDataByStarting" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByStarting" UserSourceName="FillByStarting">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ID, academyID, address, birthDate, createDate, creator, editDate, father, firstName, lastEditor, lastName, nationalCode, postalCode, shenasnameh, type FROM Person WHERE (type = @type) AND (academyID = @academyID) AND (firstName LIKE @firstName + N'%' OR @firstName = N'') AND (lastName LIKE @lastName + N'%' OR @lastName = N'') AND (nationalCode LIKE @nationalCode + N'%' OR @nationalCode = N'') ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="type" ColumnName="type" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@type" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="firstName" ColumnName="firstName" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="nvarchar(30)" DbType="String" Direction="Input" ParameterName="@firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="lastName" ColumnName="lastName" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="nvarchar(30)" DbType="String" Direction="Input" ParameterName="@lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="nationalCode" ColumnName="nationalCode" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@nationalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="nationalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RegisterTableAdapter" GeneratorDataComponentClassName="RegisterTableAdapter" Name="Register" UserDataComponentName="RegisterTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Register" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Register] WHERE (([ID] = @Original_ID) AND ([registerDate] = @Original_registerDate) AND ([studentID] = @Original_studentID) AND ([termID] = @Original_termID) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_registerDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="registerDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_studentID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="studentID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_termID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="termID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Register] ([registerDate], [studentID], [termID], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@registerDate, @studentID, @termID, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, registerDate, studentID, termID, academyID, creator, createDate, lastEditor, editDate FROM Register WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@registerDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="registerDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@studentID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="studentID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@termID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="termID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.Register</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Register] SET [registerDate] = @registerDate, [studentID] = @studentID, [termID] = @termID, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([registerDate] = @Original_registerDate) AND ([studentID] = @Original_studentID) AND ([termID] = @Original_termID) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, registerDate, studentID, termID, academyID, creator, createDate, lastEditor, editDate FROM Register WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@registerDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="registerDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@studentID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="studentID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@termID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="termID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_registerDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="registerDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_studentID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="studentID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_termID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="termID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Register" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="registerDate" DataSetColumn="registerDate" />
              <Mapping SourceColumn="studentID" DataSetColumn="studentID" />
              <Mapping SourceColumn="termID" DataSetColumn="termID" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SessionTableAdapter" GeneratorDataComponentClassName="SessionTableAdapter" Name="Session" UserDataComponentName="SessionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Session" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Session] WHERE (([ID] = @Original_ID) AND ([date] = @Original_date) AND ([time] = @Original_time) AND ([status] = @Original_status) AND ([registerID] = @Original_registerID) AND ([grade] = @Original_grade) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_time" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="time" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_registerID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="registerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Session] ([date], [time], [status], [registerID], [grade], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@date, @time, @status, @registerID, @grade, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, date, time, status, registerID, grade, academyID, creator, createDate, lastEditor, editDate FROM Session WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@time" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="time" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@registerID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="registerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.Session</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Session] SET [date] = @date, [time] = @time, [status] = @status, [registerID] = @registerID, [grade] = @grade, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([date] = @Original_date) AND ([time] = @Original_time) AND ([status] = @Original_status) AND ([registerID] = @Original_registerID) AND ([grade] = @Original_grade) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, date, time, status, registerID, grade, academyID, creator, createDate, lastEditor, editDate FROM Session WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@time" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="time" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@registerID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="registerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_time" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="time" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_registerID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="registerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_grade" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grade" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Session" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="date" DataSetColumn="date" />
              <Mapping SourceColumn="time" DataSetColumn="time" />
              <Mapping SourceColumn="status" DataSetColumn="status" />
              <Mapping SourceColumn="registerID" DataSetColumn="registerID" />
              <Mapping SourceColumn="grade" DataSetColumn="grade" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TermTableAdapter" GeneratorDataComponentClassName="TermTableAdapter" Name="Term" UserDataComponentName="TermTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Term" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Term] WHERE (([ID] = @Original_ID) AND ([startDate] = @Original_startDate) AND ([days] = @Original_days) AND ([cost] = @Original_cost) AND ([teacherPercent] = @Original_teacherPercent) AND ([teacherID] = @Original_teacherID) AND ([toolID] = @Original_toolID) AND ([classID] = @Original_classID) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_startDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="startDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_days" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="days" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_cost" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="cost" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_teacherPercent" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="teacherPercent" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_toolID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="toolID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_classID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="classID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Term] ([startDate], [days], [cost], [teacherPercent], [teacherID], [toolID], [classID], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@startDate, @days, @cost, @teacherPercent, @teacherID, @toolID, @classID, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, startDate, days, cost, teacherPercent, teacherID, toolID, classID, academyID, creator, createDate, lastEditor, editDate FROM Term WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@startDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="startDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@days" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="days" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@cost" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="cost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@teacherPercent" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="teacherPercent" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@toolID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="toolID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@classID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="classID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM Term</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Term] SET [startDate] = @startDate, [days] = @days, [cost] = @cost, [teacherPercent] = @teacherPercent, [teacherID] = @teacherID, [toolID] = @toolID, [classID] = @classID, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([startDate] = @Original_startDate) AND ([days] = @Original_days) AND ([cost] = @Original_cost) AND ([teacherPercent] = @Original_teacherPercent) AND ([teacherID] = @Original_teacherID) AND ([toolID] = @Original_toolID) AND ([classID] = @Original_classID) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, startDate, days, cost, teacherPercent, teacherID, toolID, classID, academyID, creator, createDate, lastEditor, editDate FROM Term WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@startDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="startDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@days" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="days" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@cost" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="cost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@teacherPercent" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="teacherPercent" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@toolID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="toolID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@classID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="classID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_startDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="startDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_days" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="days" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_cost" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="cost" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_teacherPercent" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="teacherPercent" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_toolID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="toolID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_classID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="classID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Term" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="startDate" DataSetColumn="startDate" />
              <Mapping SourceColumn="days" DataSetColumn="days" />
              <Mapping SourceColumn="cost" DataSetColumn="cost" />
              <Mapping SourceColumn="teacherPercent" DataSetColumn="teacherPercent" />
              <Mapping SourceColumn="teacherID" DataSetColumn="teacherID" />
              <Mapping SourceColumn="toolID" DataSetColumn="toolID" />
              <Mapping SourceColumn="classID" DataSetColumn="classID" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ToolTableAdapter" GeneratorDataComponentClassName="ToolTableAdapter" Name="Tool" UserDataComponentName="ToolTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Tool" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Tool] WHERE (([ID] = @Original_ID) AND ([toolName] = @Original_toolName) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_toolName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="toolName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Tool] ([toolName], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@toolName, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, toolName, academyID, creator, createDate, lastEditor, editDate FROM Tool WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@toolName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="toolName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.Tool WHERE academyID=@academyID</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.Tool" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Tool] SET [toolName] = @toolName, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([toolName] = @Original_toolName) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, toolName, academyID, creator, createDate, lastEditor, editDate FROM Tool WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@toolName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="toolName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_toolName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="toolName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.Tool" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="toolName" DataSetColumn="toolName" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.Tool" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByName" GeneratorSourceName="FillByName" GetMethodModifier="Public" GetMethodName="GetDataByName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByName" UserSourceName="FillByName">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ID, academyID, createDate, creator, editDate, lastEditor, toolName FROM Tool WHERE (academyID = @academyID) AND (toolName LIKE @toolName + N'%')</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.Tool" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="toolName" ColumnName="toolName" DataSourceName="MusicAcademy.dbo.Tool" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@toolName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="toolName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TransactionTableAdapter" GeneratorDataComponentClassName="TransactionTableAdapter" Name="Transaction" UserDataComponentName="TransactionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.[Transaction]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Transaction] WHERE (([ID] = @Original_ID) AND ([personID] = @Original_personID) AND ([date] = @Original_date) AND ([debit] = @Original_debit) AND ([credit] = @Original_credit) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_debit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="debit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_credit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="credit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Transaction] ([personID], [date], [debit], [credit], [descrription], [academyID], [creator], [createDate], [lastEditor], [editDate]) VALUES (@personID, @date, @debit, @credit, @descrription, @academyID, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, personID, date, debit, credit, descrription, academyID, creator, createDate, lastEditor, editDate FROM [Transaction] WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@debit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="debit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@credit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="credit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.[Transaction]</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Transaction] SET [personID] = @personID, [date] = @date, [debit] = @debit, [credit] = @credit, [descrription] = @descrription, [academyID] = @academyID, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([personID] = @Original_personID) AND ([date] = @Original_date) AND ([debit] = @Original_debit) AND ([credit] = @Original_credit) AND ([academyID] = @Original_academyID) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, personID, date, debit, credit, descrription, academyID, creator, createDate, lastEditor, editDate FROM [Transaction] WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@debit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="debit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@credit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="credit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_debit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="debit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_credit" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="credit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="personID" DataSetColumn="personID" />
              <Mapping SourceColumn="date" DataSetColumn="date" />
              <Mapping SourceColumn="debit" DataSetColumn="debit" />
              <Mapping SourceColumn="credit" DataSetColumn="credit" />
              <Mapping SourceColumn="descrription" DataSetColumn="descrription" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullTeacherToolTableAdapter" GeneratorDataComponentClassName="FullTeacherToolTableAdapter" Name="FullTeacherTool" UserDataComponentName="FullTeacherToolTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        TeacherTool.ID, TeacherTool.teacherID, TeacherTool.toolID, Person.academyID, Tool.toolName, Person.firstName, Person.lastName
FROM            TeacherTool INNER JOIN
                         Tool ON TeacherTool.toolID = Tool.ID INNER JOIN
                         Person ON TeacherTool.teacherID = Person.ID
WHERE        (Person.academyID = @academyID) AND (TeacherTool.teacherID = @teacherID OR
                         @teacherID = - 1)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.Person" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="teacherID" ColumnName="teacherID" DataSourceName="MusicAcademy.dbo.TeacherTool" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="teacherID" DataSetColumn="teacherID" />
              <Mapping SourceColumn="toolID" DataSetColumn="toolID" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="toolName" DataSetColumn="toolName" />
              <Mapping SourceColumn="firstName" DataSetColumn="firstName" />
              <Mapping SourceColumn="lastName" DataSetColumn="lastName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TeacherFreeTimeTableAdapter" GeneratorDataComponentClassName="TeacherFreeTimeTableAdapter" Name="TeacherFreeTime" UserDataComponentName="TeacherFreeTimeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.TeacherFreeTime" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[TeacherFreeTime] WHERE (([ID] = @Original_ID) AND ([teacherID] = @Original_teacherID) AND ([DOW] = @Original_DOW) AND ([fromTime] = @Original_fromTime) AND ([toTime] = @Original_toTime) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DOW" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DOW" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_fromTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromTime" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_toTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="toTime" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[TeacherFreeTime] ([teacherID], [DOW], [fromTime], [toTime], [creator], [createDate], [lastEditor], [editDate]) VALUES (@teacherID, @DOW, @fromTime, @toTime, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, teacherID, DOW, fromTime, toTime, creator, createDate, lastEditor, editDate FROM TeacherFreeTime WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DOW" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DOW" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fromTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@toTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="toTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.TeacherFreeTime</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[TeacherFreeTime] SET [teacherID] = @teacherID, [DOW] = @DOW, [fromTime] = @fromTime, [toTime] = @toTime, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([teacherID] = @Original_teacherID) AND ([DOW] = @Original_DOW) AND ([fromTime] = @Original_fromTime) AND ([toTime] = @Original_toTime) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, teacherID, DOW, fromTime, toTime, creator, createDate, lastEditor, editDate FROM TeacherFreeTime WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DOW" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DOW" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@fromTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@toTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="toTime" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DOW" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DOW" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_fromTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="fromTime" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_toTime" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="toTime" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.TeacherFreeTime" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="teacherID" DataSetColumn="teacherID" />
              <Mapping SourceColumn="DOW" DataSetColumn="DOW" />
              <Mapping SourceColumn="fromTime" DataSetColumn="fromTime" />
              <Mapping SourceColumn="toTime" DataSetColumn="toTime" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullTeacherFreeTimeTableAdapter" GeneratorDataComponentClassName="FullTeacherFreeTimeTableAdapter" Name="FullTeacherFreeTime" UserDataComponentName="FullTeacherFreeTimeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        TeacherFreeTime.ID, TeacherFreeTime.teacherID, TeacherFreeTime.DOW, TeacherFreeTime.fromTime, TeacherFreeTime.toTime, Person.firstName, 
                         Person.lastName, WeekDays.dayName
FROM            TeacherFreeTime INNER JOIN
                         Person ON TeacherFreeTime.teacherID = Person.ID INNER JOIN
                         WeekDays ON TeacherFreeTime.DOW = WeekDays.ID
WHERE        (TeacherFreeTime.teacherID = @teacherID) AND (TeacherFreeTime.DOW = @DOW) OR
                         (TeacherFreeTime.teacherID = @teacherID) AND (@DOW = 8) OR
                         (TeacherFreeTime.DOW = @DOW) AND (@teacherID = - 1) OR
                         (@DOW = 8) AND (@teacherID = - 1)
ORDER BY teacherID, DOW, fromTime</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="teacherID" ColumnName="teacherID" DataSourceName="MusicAcademy.dbo.TeacherFreeTime" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="DOW" ColumnName="DOW" DataSourceName="MusicAcademy.dbo.TeacherFreeTime" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@DOW" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="DOW" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="teacherID" DataSetColumn="teacherID" />
              <Mapping SourceColumn="DOW" DataSetColumn="DOW" />
              <Mapping SourceColumn="fromTime" DataSetColumn="fromTime" />
              <Mapping SourceColumn="toTime" DataSetColumn="toTime" />
              <Mapping SourceColumn="firstName" DataSetColumn="firstName" />
              <Mapping SourceColumn="lastName" DataSetColumn="lastName" />
              <Mapping SourceColumn="dayName" DataSetColumn="dayName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="WeekDaysTableAdapter" GeneratorDataComponentClassName="WeekDaysTableAdapter" Name="WeekDays" UserDataComponentName="WeekDaysTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.WeekDays" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[WeekDays] WHERE (([ID] = @Original_ID) AND ([dayName] = @Original_dayName))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dayName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[WeekDays] ([ID], [dayName]) VALUES (@ID, @dayName);
SELECT ID, dayName FROM WeekDays WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dayName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, dayName FROM dbo.WeekDays</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[WeekDays] SET [ID] = @ID, [dayName] = @dayName WHERE (([ID] = @Original_ID) AND ([dayName] = @Original_dayName));
SELECT ID, dayName FROM WeekDays WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@dayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dayName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_dayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="dayName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="dayName" DataSetColumn="dayName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FileTypeTableAdapter" GeneratorDataComponentClassName="FileTypeTableAdapter" Name="FileType" UserDataComponentName="FileTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.FileType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[FileType] WHERE (([ID] = @Original_ID) AND ([fileTypeName] = @Original_fileTypeName))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fileTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fileTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[FileType] ([fileTypeName]) VALUES (@fileTypeName);
SELECT ID, fileTypeName FROM FileType WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fileTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fileTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.FileType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[FileType] SET [fileTypeName] = @fileTypeName WHERE (([ID] = @Original_ID) AND ([fileTypeName] = @Original_fileTypeName));
SELECT ID, fileTypeName FROM FileType WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fileTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fileTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fileTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fileTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.FileType" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="fileTypeName" DataSetColumn="fileTypeName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PersonFileTableAdapter" GeneratorDataComponentClassName="PersonFileTableAdapter" Name="PersonFile" UserDataComponentName="PersonFileTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.PersonFile" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PersonFile] WHERE (([ID] = @Original_ID) AND ([personID] = @Original_personID) AND ([fileTypeID] = @Original_fileTypeID) AND ([description] = @Original_description) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_fileTypeID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="fileTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PersonFile] ([personID], [fileAddress], [fileTypeID], [description], [creator], [createDate], [lastEditor], [editDate]) VALUES (@personID, @fileAddress, @fileTypeID, @description, @creator, @createDate, @lastEditor, @editDate);
SELECT ID, personID, fileAddress, fileTypeID, description, creator, createDate, lastEditor, editDate FROM PersonFile WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fileAddress" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="fileAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@fileTypeID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="fileTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM dbo.PersonFile</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PersonFile] SET [personID] = @personID, [fileAddress] = @fileAddress, [fileTypeID] = @fileTypeID, [description] = @description, [creator] = @creator, [createDate] = @createDate, [lastEditor] = @lastEditor, [editDate] = @editDate WHERE (([ID] = @Original_ID) AND ([personID] = @Original_personID) AND ([fileTypeID] = @Original_fileTypeID) AND ([description] = @Original_description) AND ([creator] = @Original_creator) AND ([createDate] = @Original_createDate) AND ((@IsNull_lastEditor = 1 AND [lastEditor] IS NULL) OR ([lastEditor] = @Original_lastEditor)) AND ((@IsNull_editDate = 1 AND [editDate] IS NULL) OR ([editDate] = @Original_editDate)));
SELECT ID, personID, fileAddress, fileTypeID, description, creator, createDate, lastEditor, editDate FROM PersonFile WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fileAddress" Precision="0" ProviderType="NText" Scale="0" Size="0" SourceColumn="fileAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@fileTypeID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="fileTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_personID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_fileTypeID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="fileTypeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_creator" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="creator" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_createDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="createDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lastEditor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_lastEditor" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="lastEditor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_editDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_editDate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="editDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="MusicAcademy.dbo.PersonFile" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="personID" DataSetColumn="personID" />
              <Mapping SourceColumn="fileAddress" DataSetColumn="fileAddress" />
              <Mapping SourceColumn="fileTypeID" DataSetColumn="fileTypeID" />
              <Mapping SourceColumn="description" DataSetColumn="description" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PersonTypeTableAdapter" GeneratorDataComponentClassName="PersonTypeTableAdapter" Name="PersonType" UserDataComponentName="PersonTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.PersonType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PersonType] WHERE (([ID] = @Original_ID) AND ([personTypeName] = @Original_personTypeName))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_personTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="personTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PersonType] ([personTypeName]) VALUES (@personTypeName);
SELECT ID, personTypeName FROM PersonType WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@personTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="personTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, personTypeName FROM dbo.PersonType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PersonType] SET [personTypeName] = @personTypeName WHERE (([ID] = @Original_ID) AND ([personTypeName] = @Original_personTypeName));
SELECT ID, personTypeName FROM PersonType WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@personTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="personTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_personTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="personTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="personTypeName" DataSetColumn="personTypeName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullPersonFileTableAdapter" GeneratorDataComponentClassName="FullPersonFileTableAdapter" Name="FullPersonFile" UserDataComponentName="FullPersonFileTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        PersonFile.ID, PersonFile.personID, PersonFile.fileAddress, PersonFile.fileTypeID, PersonFile.description, Person.firstName, Person.lastName, 
                         PersonType.personTypeName, FileType.fileTypeName
FROM            PersonFile INNER JOIN
                         Person ON PersonFile.personID = Person.ID INNER JOIN
                         PersonType ON Person.type = PersonType.ID INNER JOIN
                         FileType ON PersonFile.fileTypeID = FileType.ID
WHERE (personID=@personID OR @personID=-1)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="personID" ColumnName="personID" DataSourceName="MusicAcademy.dbo.PersonFile" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@personID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="personID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="personID" DataSetColumn="personID" />
              <Mapping SourceColumn="fileAddress" DataSetColumn="fileAddress" />
              <Mapping SourceColumn="fileTypeID" DataSetColumn="fileTypeID" />
              <Mapping SourceColumn="description" DataSetColumn="description" />
              <Mapping SourceColumn="firstName" DataSetColumn="firstName" />
              <Mapping SourceColumn="lastName" DataSetColumn="lastName" />
              <Mapping SourceColumn="personTypeName" DataSetColumn="personTypeName" />
              <Mapping SourceColumn="fileTypeName" DataSetColumn="fileTypeName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullTermProgramTableAdapter" GeneratorDataComponentClassName="FullTermProgramTableAdapter" Name="FullTermProgram" UserDataComponentName="FullTermProgramTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        TermProgram.ID, TermProgram.termID, TermProgram.DOW, TermProgram.time, WeekDays.dayName,
                         WeekDays.dayName + N'(' + TermProgram.time + N')'+classNumber AS FullProgramString, TermProgram.classID, Class.classNumber
FROM            TermProgram INNER JOIN
                         WeekDays ON TermProgram.DOW = WeekDays.ID INNER JOIN
                         Class ON TermProgram.classID = Class.ID
WHERE        (TermProgram.termID = @termID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="termID" ColumnName="termID" DataSourceName="MusicAcademy.dbo.TermProgram" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@termID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="termID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="termID" DataSetColumn="termID" />
              <Mapping SourceColumn="DOW" DataSetColumn="DOW" />
              <Mapping SourceColumn="time" DataSetColumn="time" />
              <Mapping SourceColumn="dayName" DataSetColumn="dayName" />
              <Mapping SourceColumn="FullProgramString" DataSetColumn="FullProgramString" />
              <Mapping SourceColumn="classID" DataSetColumn="classID" />
              <Mapping SourceColumn="classNumber" DataSetColumn="classNumber" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullRegisterTableAdapter" GeneratorDataComponentClassName="FullRegisterTableAdapter" Name="FullRegister" UserDataComponentName="FullRegisterTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Register.ID, Register.registerDate, Register.studentID, Register.termID, tch.firstName + N' ' + tch.lastName AS teacherName, 
                         std.firstName + N' ' + std.lastName AS studentName, Tool.toolName
FROM            Register INNER JOIN
                         Person AS std ON Register.studentID = std.ID INNER JOIN
                         Term ON Register.termID = Term.ID INNER JOIN
                         Tool ON Term.toolID = Tool.ID INNER JOIN
                         Person AS tch ON Term.teacherID = tch.ID
WHERE        (std.firstName+ N' ' + std.lastName LIKE N'%' + @studentName + N'%' OR @studentName=N'') AND (tch.firstName+ N' ' + tch.lastName LIKE N'%' + @teacherName + N'%' OR @teacherName=N'') 
AND (toolName LIKE N'%'+@toolName + N'%' OR @toolName=N'')
ORDER BY Register.ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="studentName" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@studentName" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="teacherName" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@teacherName" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="toolName" ColumnName="toolName" DataSourceName="MusicAcademy.dbo.Tool" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@toolName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="toolName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="registerDate" DataSetColumn="registerDate" />
              <Mapping SourceColumn="studentID" DataSetColumn="studentID" />
              <Mapping SourceColumn="termID" DataSetColumn="termID" />
              <Mapping SourceColumn="teacherName" DataSetColumn="teacherName" />
              <Mapping SourceColumn="studentName" DataSetColumn="studentName" />
              <Mapping SourceColumn="toolName" DataSetColumn="toolName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullTransactionTableAdapter" GeneratorDataComponentClassName="FullTransactionTableAdapter" Name="FullTransaction" UserDataComponentName="FullTransactionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        [Transaction].ID, [Transaction].personID, [Transaction].date, [Transaction].debit, [Transaction].credit, [Transaction].description, [Transaction].academyID, 
                         [Transaction].creator, [Transaction].createDate, [Transaction].lastEditor, [Transaction].editDate, Person.firstName, Person.lastName, 
                         (CASE WHEN personID IS NULL THEN N'آموزشگاه' ELSE firstName + N' ' + lastName END) AS FullName
FROM            [Transaction] LEFT OUTER JOIN
                         Person ON [Transaction].personID = Person.ID
WHERE 
[Transaction].academyID=@academyID AND
((personID IS NULL AND N'آموزشگاه' LIKE N'%'+@FullName+N'%') OR (personID IS NOT NULL AND firstName+N' '+lastName LIKE N'%'+@FullName+N'%'))  AND
(credit=@credit OR @credit=-1) AND
(debit=@debit OR @debit=-1) AND
(date&gt;=@fromDate OR @fromDate=N'') AND
(date&lt;=@toDate OR @toDate=N'') AND
(description LIKE N'%'+@description+N'%')
</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="FullName" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@FullName" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="credit" ColumnName="credit" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@credit" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="credit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="debit" ColumnName="debit" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@debit" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="debit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="fromDate" ColumnName="date" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@fromDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="toDate" ColumnName="date" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@toDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="description" ColumnName="description" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="personID" DataSetColumn="personID" />
              <Mapping SourceColumn="date" DataSetColumn="date" />
              <Mapping SourceColumn="debit" DataSetColumn="debit" />
              <Mapping SourceColumn="credit" DataSetColumn="credit" />
              <Mapping SourceColumn="description" DataSetColumn="description" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
              <Mapping SourceColumn="firstName" DataSetColumn="firstName" />
              <Mapping SourceColumn="lastName" DataSetColumn="lastName" />
              <Mapping SourceColumn="FullName" DataSetColumn="FullName" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByStarting" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByStarting" GeneratorSourceName="FillByStarting" GetMethodModifier="Public" GetMethodName="GetDataByStarting" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByStarting" UserSourceName="FillByStarting">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        [Transaction].ID, [Transaction].personID, [Transaction].date, [Transaction].debit, [Transaction].credit, [Transaction].description, [Transaction].academyID, 
                         [Transaction].creator, [Transaction].createDate, [Transaction].lastEditor, [Transaction].editDate, Person.firstName, Person.lastName, 
                         (CASE WHEN personID IS NULL THEN N'آموزشگاه' ELSE firstName + N' ' + lastName END) AS FullName
FROM            [Transaction] LEFT OUTER JOIN
                         Person ON [Transaction].personID = Person.ID
WHERE 
[Transaction].academyID=@academyID AND
((personID IS NULL AND N'آموزشگاه' LIKE @FullName+N'%') OR (personID IS NOT NULL AND firstName+N' '+lastName LIKE @FullName+N'%'))  AND
(credit=@credit OR @credit=-1) AND
(debit=@debit OR @debit=-1) AND
(date&gt;=@fromDate OR @fromDate=N'') AND
(date&lt;=@toDate OR @toDate=N'') AND
(description LIKE @description+N'%')
</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="academyID" ColumnName="academyID" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="FullName" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@FullName" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="credit" ColumnName="credit" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@credit" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="credit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="debit" ColumnName="debit" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@debit" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="debit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="fromDate" ColumnName="date" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@fromDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="toDate" ColumnName="date" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@toDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="description" ColumnName="description" DataSourceName="MusicAcademy.dbo.[Transaction]" DataTypeServer="nvarchar(MAX)" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="2147483647" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullSessionTableAdapter" GeneratorDataComponentClassName="FullSessionTableAdapter" Name="FullSession" UserDataComponentName="FullSessionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Session.ID, Session.date, Session.time, Session.status, Session.registerID, Session.grade, Session.academyID, Session.creator, Session.createDate, 
                         Session.lastEditor, Session.editDate, Session.classID, SessionStatus.stateName, std.firstName + N' ' + std.lastName AS StudentName, 
                         tch.firstName + N' ' + tch.lastName AS TeacherName, Register.termID, Register.studentID, Term.teacherID, Tool.toolName, 
                         Class.classNumber
FROM            Session INNER JOIN
                         SessionStatus ON Session.status = SessionStatus.ID INNER JOIN
                         Register ON Session.registerID = Register.ID INNER JOIN
                         Term ON Register.termID = Term.ID INNER JOIN
                         Person AS tch ON Term.teacherID = tch.ID INNER JOIN
                         Person AS std ON Register.studentID = std.ID INNER JOIN
                         Tool ON Term.toolID = Tool.ID INNER JOIN
                         Class ON Session.classID = Class.ID
WHERE
(status=@status OR @status=-1) AND
(registerID=@registerID OR @registerID=-1) AND
(termID=@termID OR @termID=-1) AND
(tch.firstName+N' '+tch.lastName LIKE N'%' + @teacherName + N'%' OR @teacherName=N'') AND
(std.firstName+N' '+std.lastName LIKE N'%' + @studentName + N'%' OR @studentName=N'') AND
(studentID=@studentID OR @studentID=-1) AND
(teacherID=@teacherID OR @teacherID=-1) AND
(toolName LIKE N'%'+@toolName+N'%' OR @toolName=N'') AND
(date&gt;=@fromDate OR @fromDate=N'') AND
(date&lt;=@toDate OR @toDate=N'')
</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="status" ColumnName="status" DataSourceName="MusicAcademy.dbo.Session" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@status" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="registerID" ColumnName="registerID" DataSourceName="MusicAcademy.dbo.Session" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@registerID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="registerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="termID" ColumnName="termID" DataSourceName="MusicAcademy.dbo.Register" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@termID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="termID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="teacherName" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@teacherName" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="studentName" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@studentName" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="studentID" ColumnName="studentID" DataSourceName="MusicAcademy.dbo.Register" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@studentID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="studentID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="teacherID" ColumnName="teacherID" DataSourceName="MusicAcademy.dbo.Term" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@teacherID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="teacherID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="toolName" ColumnName="toolName" DataSourceName="MusicAcademy.dbo.Tool" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@toolName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="toolName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="fromDate" ColumnName="date" DataSourceName="MusicAcademy.dbo.Session" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@fromDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="toDate" ColumnName="date" DataSourceName="MusicAcademy.dbo.Session" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@toDate" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="date" DataSetColumn="date" />
              <Mapping SourceColumn="time" DataSetColumn="time" />
              <Mapping SourceColumn="status" DataSetColumn="status" />
              <Mapping SourceColumn="registerID" DataSetColumn="registerID" />
              <Mapping SourceColumn="grade" DataSetColumn="grade" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
              <Mapping SourceColumn="classID" DataSetColumn="classID" />
              <Mapping SourceColumn="stateName" DataSetColumn="stateName" />
              <Mapping SourceColumn="StudentName" DataSetColumn="StudentName" />
              <Mapping SourceColumn="TeacherName" DataSetColumn="TeacherName" />
              <Mapping SourceColumn="termID" DataSetColumn="termID" />
              <Mapping SourceColumn="studentID" DataSetColumn="studentID" />
              <Mapping SourceColumn="teacherID" DataSetColumn="teacherID" />
              <Mapping SourceColumn="toolName" DataSetColumn="toolName" />
              <Mapping SourceColumn="classNumber" DataSetColumn="classNumber" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SessionStatusTableAdapter" GeneratorDataComponentClassName="SessionStatusTableAdapter" Name="SessionStatus" UserDataComponentName="SessionStatusTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.SessionStatus" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SessionStatus] WHERE (([ID] = @Original_ID) AND ([stateName] = @Original_stateName))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_stateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="stateName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SessionStatus] ([ID], [stateName]) VALUES (@ID, @stateName);
SELECT ID, stateName FROM SessionStatus WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@stateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="stateName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, stateName FROM dbo.SessionStatus</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SessionStatus] SET [ID] = @ID, [stateName] = @stateName WHERE (([ID] = @Original_ID) AND ([stateName] = @Original_stateName));
SELECT ID, stateName FROM SessionStatus WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@stateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="stateName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_stateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="stateName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="stateName" DataSetColumn="stateName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullContactsTableAdapter" GeneratorDataComponentClassName="FullContactsTableAdapter" Name="FullContacts" UserDataComponentName="FullContactsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Contact.ID, Contact.personID, Contact.firstName, Contact.lastName, Contact.academyID, Contact.creator, Contact.createDate, Contact.lastEditor, 
                         Contact.editDate, ContactDetail.value AS PrimaryPhone, ContactDetail_1.value AS PrimaryMobile
FROM            Contact LEFT OUTER JOIN
                         ContactDetail AS ContactDetail_1 ON Contact.ID = ContactDetail_1.contactID AND ContactDetail_1.contactTypeID = 2 LEFT OUTER JOIN
                         ContactDetail ON Contact.ID = ContactDetail.contactID AND ContactDetail.contactTypeID = 1
WHERE (firstName LIKE N'%' + @firstName+ N'%' OR @firstName=N'') AND
(lastName LIKE N'%' + @lastName+ N'%' OR @lastName=N'') AND
(ContactDetail.value LIKE N'%'+@value+N'%' OR ContactDetail_1.value LIKE N'%'+@value+N'%' OR @value=N'')
ORDER BY ID DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="firstName" ColumnName="firstName" DataSourceName="MusicAcademy.dbo.Contact" DataTypeServer="nvarchar(30)" DbType="String" Direction="Input" ParameterName="@firstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumn="firstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="lastName" ColumnName="lastName" DataSourceName="MusicAcademy.dbo.Contact" DataTypeServer="nvarchar(30)" DbType="String" Direction="Input" ParameterName="@lastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumn="lastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="value" ColumnName="value" DataSourceName="MusicAcademy.dbo.ContactDetail" DataTypeServer="varchar(100)" DbType="AnsiString" Direction="Input" ParameterName="@value" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumn="PrimaryPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="personID" DataSetColumn="personID" />
              <Mapping SourceColumn="firstName" DataSetColumn="firstName" />
              <Mapping SourceColumn="lastName" DataSetColumn="lastName" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="creator" DataSetColumn="creator" />
              <Mapping SourceColumn="createDate" DataSetColumn="createDate" />
              <Mapping SourceColumn="lastEditor" DataSetColumn="lastEditor" />
              <Mapping SourceColumn="editDate" DataSetColumn="editDate" />
              <Mapping SourceColumn="PrimaryPhone" DataSetColumn="PrimaryPhone" />
              <Mapping SourceColumn="PrimaryMobile" DataSetColumn="PrimaryMobile" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContactTypeTableAdapter" GeneratorDataComponentClassName="ContactTypeTableAdapter" Name="ContactType" UserDataComponentName="ContactTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectName="MusicAcademy.dbo.ContactType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ContactType] WHERE (([ID] = @Original_ID) AND ([contactTypeName] = @Original_contactTypeName) AND ([academyID] = @Original_academyID) AND ([isSystem] = @Original_isSystem))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_contactTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contactTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isSystem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isSystem" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ContactType] ([contactTypeName], [academyID], [isSystem]) VALUES (@contactTypeName, @academyID, @isSystem);
SELECT ID, contactTypeName, academyID, isSystem FROM ContactType WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@contactTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contactTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isSystem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isSystem" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, contactTypeName, academyID, isSystem FROM dbo.ContactType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ContactType] SET [contactTypeName] = @contactTypeName, [academyID] = @academyID, [isSystem] = @isSystem WHERE (([ID] = @Original_ID) AND ([contactTypeName] = @Original_contactTypeName) AND ([academyID] = @Original_academyID) AND ([isSystem] = @Original_isSystem));
SELECT ID, contactTypeName, academyID, isSystem FROM ContactType WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@contactTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contactTypeName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isSystem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isSystem" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_contactTypeName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contactTypeName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_academyID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="academyID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_isSystem" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isSystem" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="contactTypeName" DataSetColumn="contactTypeName" />
              <Mapping SourceColumn="academyID" DataSetColumn="academyID" />
              <Mapping SourceColumn="isSystem" DataSetColumn="isSystem" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FullContactDetailTableAdapter" GeneratorDataComponentClassName="FullContactDetailTableAdapter" Name="FullContactDetail" UserDataComponentName="FullContactDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="MusicAcademyConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ContactDetail.value, ContactDetail.contactID, ContactType.contactTypeName, ContactDetail.contactTypeID, ContactDetail.ID
FROM            ContactDetail INNER JOIN
                         ContactType ON ContactDetail.contactTypeID = ContactType.ID
WHERE        (ContactDetail.contactID = @contactID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="contactID" ColumnName="contactID" DataSourceName="MusicAcademy.dbo.ContactDetail" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@contactID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="contactID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="value" DataSetColumn="value" />
              <Mapping SourceColumn="contactID" DataSetColumn="contactID" />
              <Mapping SourceColumn="contactTypeName" DataSetColumn="contactTypeName" />
              <Mapping SourceColumn="contactTypeID" DataSetColumn="contactTypeID" />
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="MusicAcademyDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="MusicAcademyDataSet" msprop:Generator_UserDSName="MusicAcademyDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Academy" msprop:Generator_TableClassName="AcademyDataTable" msprop:Generator_TableVarName="tableAcademy" msprop:Generator_RowChangedName="AcademyRowChanged" msprop:Generator_TablePropName="Academy" msprop:Generator_RowDeletingName="AcademyRowDeleting" msprop:Generator_RowChangingName="AcademyRowChanging" msprop:Generator_RowEvHandlerName="AcademyRowChangeEventHandler" msprop:Generator_RowDeletedName="AcademyRowDeleted" msprop:Generator_RowClassName="AcademyRow" msprop:Generator_UserTableName="Academy" msprop:Generator_RowEvArgName="AcademyRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="academyName" msprop:Generator_ColumnVarNameInTable="columnacademyName" msprop:Generator_ColumnPropNameInRow="academyName" msprop:Generator_ColumnPropNameInTable="academyNameColumn" msprop:Generator_UserColumnName="academyName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="80" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Class" msprop:Generator_TableClassName="ClassDataTable" msprop:Generator_TableVarName="tableClass" msprop:Generator_RowChangedName="ClassRowChanged" msprop:Generator_TablePropName="Class" msprop:Generator_RowDeletingName="ClassRowDeleting" msprop:Generator_RowChangingName="ClassRowChanging" msprop:Generator_RowEvHandlerName="ClassRowChangeEventHandler" msprop:Generator_RowDeletedName="ClassRowDeleted" msprop:Generator_RowClassName="ClassRow" msprop:Generator_UserTableName="Class" msprop:Generator_RowEvArgName="ClassRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="classNumber" msprop:Generator_ColumnVarNameInTable="columnclassNumber" msprop:Generator_ColumnPropNameInRow="classNumber" msprop:Generator_ColumnPropNameInTable="classNumberColumn" msprop:Generator_UserColumnName="classNumber">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="floor" msprop:Generator_ColumnVarNameInTable="columnfloor" msprop:Generator_ColumnPropNameInRow="floor" msprop:Generator_ColumnPropNameInTable="floorColumn" msprop:Generator_UserColumnName="floor" type="xs:int" />
              <xs:element name="properties" msprop:Generator_ColumnVarNameInTable="columnproperties" msprop:Generator_ColumnPropNameInRow="properties" msprop:Generator_ColumnPropNameInTable="propertiesColumn" msprop:Generator_UserColumnName="properties">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Contact" msprop:Generator_TableClassName="ContactDataTable" msprop:Generator_TableVarName="tableContact" msprop:Generator_RowChangedName="ContactRowChanged" msprop:Generator_TablePropName="Contact" msprop:Generator_RowDeletingName="ContactRowDeleting" msprop:Generator_RowChangingName="ContactRowChanging" msprop:Generator_RowEvHandlerName="ContactRowChangeEventHandler" msprop:Generator_RowDeletedName="ContactRowDeleted" msprop:Generator_RowClassName="ContactRow" msprop:Generator_UserTableName="Contact" msprop:Generator_RowEvArgName="ContactRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="firstName" msprop:Generator_ColumnVarNameInTable="columnfirstName" msprop:Generator_ColumnPropNameInRow="firstName" msprop:Generator_ColumnPropNameInTable="firstNameColumn" msprop:Generator_UserColumnName="firstName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastName" msprop:Generator_ColumnVarNameInTable="columnlastName" msprop:Generator_ColumnPropNameInRow="lastName" msprop:Generator_ColumnPropNameInTable="lastNameColumn" msprop:Generator_UserColumnName="lastName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="personID" msprop:Generator_ColumnVarNameInTable="columnpersonID" msprop:Generator_ColumnPropNameInRow="personID" msprop:Generator_ColumnPropNameInTable="personIDColumn" msprop:Generator_UserColumnName="personID" type="xs:long" minOccurs="0" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ContactDetail" msprop:Generator_TableClassName="ContactDetailDataTable" msprop:Generator_TableVarName="tableContactDetail" msprop:Generator_RowChangedName="ContactDetailRowChanged" msprop:Generator_TablePropName="ContactDetail" msprop:Generator_RowDeletingName="ContactDetailRowDeleting" msprop:Generator_RowChangingName="ContactDetailRowChanging" msprop:Generator_RowEvHandlerName="ContactDetailRowChangeEventHandler" msprop:Generator_RowDeletedName="ContactDetailRowDeleted" msprop:Generator_RowClassName="ContactDetailRow" msprop:Generator_UserTableName="ContactDetail" msprop:Generator_RowEvArgName="ContactDetailRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="contactID" msprop:Generator_ColumnVarNameInTable="columncontactID" msprop:Generator_ColumnPropNameInRow="contactID" msprop:Generator_ColumnPropNameInTable="contactIDColumn" msprop:Generator_UserColumnName="contactID" type="xs:long" />
              <xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="contactTypeID" msprop:Generator_ColumnVarNameInTable="columncontactTypeID" msprop:Generator_ColumnPropNameInRow="contactTypeID" msprop:Generator_ColumnPropNameInTable="contactTypeIDColumn" msprop:Generator_UserColumnName="contactTypeID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Holiday" msprop:Generator_TableClassName="HolidayDataTable" msprop:Generator_TableVarName="tableHoliday" msprop:Generator_RowChangedName="HolidayRowChanged" msprop:Generator_TablePropName="Holiday" msprop:Generator_RowDeletingName="HolidayRowDeleting" msprop:Generator_RowChangingName="HolidayRowChanging" msprop:Generator_RowEvHandlerName="HolidayRowChangeEventHandler" msprop:Generator_RowDeletedName="HolidayRowDeleted" msprop:Generator_RowClassName="HolidayRow" msprop:Generator_UserTableName="Holiday" msprop:Generator_RowEvArgName="HolidayRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="reason" msprop:Generator_ColumnVarNameInTable="columnreason" msprop:Generator_ColumnPropNameInRow="reason" msprop:Generator_ColumnPropNameInTable="reasonColumn" msprop:Generator_UserColumnName="reason">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Person" msprop:Generator_TableClassName="PersonDataTable" msprop:Generator_TableVarName="tablePerson" msprop:Generator_RowChangedName="PersonRowChanged" msprop:Generator_TablePropName="Person" msprop:Generator_RowDeletingName="PersonRowDeleting" msprop:Generator_RowChangingName="PersonRowChanging" msprop:Generator_RowEvHandlerName="PersonRowChangeEventHandler" msprop:Generator_RowDeletedName="PersonRowDeleted" msprop:Generator_RowClassName="PersonRow" msprop:Generator_UserTableName="Person" msprop:Generator_RowEvArgName="PersonRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="firstName" msprop:Generator_ColumnVarNameInTable="columnfirstName" msprop:Generator_ColumnPropNameInRow="firstName" msprop:Generator_ColumnPropNameInTable="firstNameColumn" msprop:Generator_UserColumnName="firstName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastName" msprop:Generator_ColumnVarNameInTable="columnlastName" msprop:Generator_ColumnPropNameInRow="lastName" msprop:Generator_ColumnPropNameInTable="lastNameColumn" msprop:Generator_UserColumnName="lastName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="father" msprop:Generator_ColumnVarNameInTable="columnfather" msprop:Generator_ColumnPropNameInRow="father" msprop:Generator_ColumnPropNameInTable="fatherColumn" msprop:Generator_UserColumnName="father">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="shenasnameh" msprop:Generator_ColumnVarNameInTable="columnshenasnameh" msprop:Generator_ColumnPropNameInRow="shenasnameh" msprop:Generator_ColumnPropNameInTable="shenasnamehColumn" msprop:Generator_UserColumnName="shenasnameh">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="nationalCode" msprop:Generator_ColumnVarNameInTable="columnnationalCode" msprop:Generator_ColumnPropNameInRow="nationalCode" msprop:Generator_ColumnPropNameInTable="nationalCodeColumn" msprop:Generator_UserColumnName="nationalCode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="birthDate" msprop:Generator_ColumnVarNameInTable="columnbirthDate" msprop:Generator_ColumnPropNameInRow="birthDate" msprop:Generator_ColumnPropNameInTable="birthDateColumn" msprop:Generator_UserColumnName="birthDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="type" msprop:Generator_ColumnVarNameInTable="columntype" msprop:Generator_ColumnPropNameInRow="type" msprop:Generator_ColumnPropNameInTable="typeColumn" msprop:Generator_UserColumnName="type" type="xs:unsignedByte" />
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnPropNameInTable="addressColumn" msprop:Generator_UserColumnName="address">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="130" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="postalCode" msprop:Generator_ColumnVarNameInTable="columnpostalCode" msprop:Generator_ColumnPropNameInRow="postalCode" msprop:Generator_ColumnPropNameInTable="postalCodeColumn" msprop:Generator_UserColumnName="postalCode">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Register" msprop:Generator_TableClassName="RegisterDataTable" msprop:Generator_TableVarName="tableRegister" msprop:Generator_RowChangedName="RegisterRowChanged" msprop:Generator_TablePropName="Register" msprop:Generator_RowDeletingName="RegisterRowDeleting" msprop:Generator_RowChangingName="RegisterRowChanging" msprop:Generator_RowEvHandlerName="RegisterRowChangeEventHandler" msprop:Generator_RowDeletedName="RegisterRowDeleted" msprop:Generator_RowClassName="RegisterRow" msprop:Generator_UserTableName="Register" msprop:Generator_RowEvArgName="RegisterRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="registerDate" msprop:Generator_ColumnVarNameInTable="columnregisterDate" msprop:Generator_ColumnPropNameInRow="registerDate" msprop:Generator_ColumnPropNameInTable="registerDateColumn" msprop:Generator_UserColumnName="registerDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="studentID" msprop:Generator_ColumnVarNameInTable="columnstudentID" msprop:Generator_ColumnPropNameInRow="studentID" msprop:Generator_ColumnPropNameInTable="studentIDColumn" msprop:Generator_UserColumnName="studentID" type="xs:long" />
              <xs:element name="termID" msprop:Generator_ColumnVarNameInTable="columntermID" msprop:Generator_ColumnPropNameInRow="termID" msprop:Generator_ColumnPropNameInTable="termIDColumn" msprop:Generator_UserColumnName="termID" type="xs:long" />
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Session" msprop:Generator_TableClassName="SessionDataTable" msprop:Generator_TableVarName="tableSession" msprop:Generator_RowChangedName="SessionRowChanged" msprop:Generator_TablePropName="Session" msprop:Generator_RowDeletingName="SessionRowDeleting" msprop:Generator_RowChangingName="SessionRowChanging" msprop:Generator_RowEvHandlerName="SessionRowChangeEventHandler" msprop:Generator_RowDeletedName="SessionRowDeleted" msprop:Generator_RowClassName="SessionRow" msprop:Generator_UserTableName="Session" msprop:Generator_RowEvArgName="SessionRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="time" msprop:Generator_ColumnVarNameInTable="columntime" msprop:Generator_ColumnPropNameInRow="time" msprop:Generator_ColumnPropNameInTable="timeColumn" msprop:Generator_UserColumnName="time">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="status" msprop:Generator_ColumnVarNameInTable="columnstatus" msprop:Generator_ColumnPropNameInRow="status" msprop:Generator_ColumnPropNameInTable="statusColumn" msprop:Generator_UserColumnName="status" type="xs:int" />
              <xs:element name="registerID" msprop:Generator_ColumnVarNameInTable="columnregisterID" msprop:Generator_ColumnPropNameInRow="registerID" msprop:Generator_ColumnPropNameInTable="registerIDColumn" msprop:Generator_UserColumnName="registerID" type="xs:long" />
              <xs:element name="grade" msprop:Generator_ColumnVarNameInTable="columngrade" msprop:Generator_ColumnPropNameInRow="grade" msprop:Generator_ColumnPropNameInTable="gradeColumn" msprop:Generator_UserColumnName="grade" type="xs:int" />
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Term" msprop:Generator_TableClassName="TermDataTable" msprop:Generator_TableVarName="tableTerm" msprop:Generator_RowChangedName="TermRowChanged" msprop:Generator_TablePropName="Term" msprop:Generator_RowDeletingName="TermRowDeleting" msprop:Generator_RowChangingName="TermRowChanging" msprop:Generator_RowEvHandlerName="TermRowChangeEventHandler" msprop:Generator_RowDeletedName="TermRowDeleted" msprop:Generator_RowClassName="TermRow" msprop:Generator_UserTableName="Term" msprop:Generator_RowEvArgName="TermRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="startDate" msprop:Generator_ColumnVarNameInTable="columnstartDate" msprop:Generator_ColumnPropNameInRow="startDate" msprop:Generator_ColumnPropNameInTable="startDateColumn" msprop:Generator_UserColumnName="startDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="days" msprop:Generator_ColumnVarNameInTable="columndays" msprop:Generator_ColumnPropNameInRow="days" msprop:Generator_ColumnPropNameInTable="daysColumn" msprop:Generator_UserColumnName="days" type="xs:int" />
              <xs:element name="cost" msprop:Generator_ColumnVarNameInTable="columncost" msprop:Generator_ColumnPropNameInRow="cost" msprop:Generator_ColumnPropNameInTable="costColumn" msprop:Generator_UserColumnName="cost" type="xs:long" />
              <xs:element name="teacherPercent" msprop:Generator_ColumnVarNameInTable="columnteacherPercent" msprop:Generator_ColumnPropNameInRow="teacherPercent" msprop:Generator_ColumnPropNameInTable="teacherPercentColumn" msprop:Generator_UserColumnName="teacherPercent" type="xs:double" />
              <xs:element name="teacherID" msprop:Generator_ColumnVarNameInTable="columnteacherID" msprop:Generator_ColumnPropNameInRow="teacherID" msprop:Generator_ColumnPropNameInTable="teacherIDColumn" msprop:Generator_UserColumnName="teacherID" type="xs:long" />
              <xs:element name="toolID" msprop:Generator_ColumnVarNameInTable="columntoolID" msprop:Generator_ColumnPropNameInRow="toolID" msprop:Generator_ColumnPropNameInTable="toolIDColumn" msprop:Generator_UserColumnName="toolID" type="xs:long" />
              <xs:element name="classID" msprop:Generator_ColumnVarNameInTable="columnclassID" msprop:Generator_ColumnPropNameInRow="classID" msprop:Generator_ColumnPropNameInTable="classIDColumn" msprop:Generator_UserColumnName="classID" type="xs:long" />
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Tool" msprop:Generator_TableClassName="ToolDataTable" msprop:Generator_TableVarName="tableTool" msprop:Generator_RowChangedName="ToolRowChanged" msprop:Generator_TablePropName="Tool" msprop:Generator_RowDeletingName="ToolRowDeleting" msprop:Generator_RowChangingName="ToolRowChanging" msprop:Generator_RowEvHandlerName="ToolRowChangeEventHandler" msprop:Generator_RowDeletedName="ToolRowDeleted" msprop:Generator_RowClassName="ToolRow" msprop:Generator_UserTableName="Tool" msprop:Generator_RowEvArgName="ToolRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="toolName" msprop:Generator_ColumnVarNameInTable="columntoolName" msprop:Generator_ColumnPropNameInRow="toolName" msprop:Generator_ColumnPropNameInTable="toolNameColumn" msprop:Generator_UserColumnName="toolName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Transaction" msprop:Generator_TableClassName="TransactionDataTable" msprop:Generator_TableVarName="tableTransaction" msprop:Generator_RowChangedName="TransactionRowChanged" msprop:Generator_TablePropName="Transaction" msprop:Generator_RowDeletingName="TransactionRowDeleting" msprop:Generator_RowChangingName="TransactionRowChanging" msprop:Generator_RowEvHandlerName="TransactionRowChangeEventHandler" msprop:Generator_RowDeletedName="TransactionRowDeleted" msprop:Generator_RowClassName="TransactionRow" msprop:Generator_UserTableName="Transaction" msprop:Generator_RowEvArgName="TransactionRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="personID" msprop:Generator_ColumnVarNameInTable="columnpersonID" msprop:Generator_ColumnPropNameInRow="personID" msprop:Generator_ColumnPropNameInTable="personIDColumn" msprop:Generator_UserColumnName="personID" type="xs:long" />
              <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="debit" msprop:Generator_ColumnVarNameInTable="columndebit" msprop:Generator_ColumnPropNameInRow="debit" msprop:Generator_ColumnPropNameInTable="debitColumn" msprop:Generator_UserColumnName="debit" type="xs:long" />
              <xs:element name="credit" msprop:Generator_ColumnVarNameInTable="columncredit" msprop:Generator_ColumnPropNameInRow="credit" msprop:Generator_ColumnPropNameInTable="creditColumn" msprop:Generator_UserColumnName="credit" type="xs:long" />
              <xs:element name="descrription" msprop:Generator_ColumnVarNameInTable="columndescrription" msprop:Generator_ColumnPropNameInRow="descrription" msprop:Generator_ColumnPropNameInTable="descrriptionColumn" msprop:Generator_UserColumnName="descrription">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullTeacherTool" msprop:Generator_TableClassName="FullTeacherToolDataTable" msprop:Generator_TableVarName="tableFullTeacherTool" msprop:Generator_RowChangedName="FullTeacherToolRowChanged" msprop:Generator_TablePropName="FullTeacherTool" msprop:Generator_RowDeletingName="FullTeacherToolRowDeleting" msprop:Generator_RowChangingName="FullTeacherToolRowChanging" msprop:Generator_RowEvHandlerName="FullTeacherToolRowChangeEventHandler" msprop:Generator_RowDeletedName="FullTeacherToolRowDeleted" msprop:Generator_RowClassName="FullTeacherToolRow" msprop:Generator_UserTableName="FullTeacherTool" msprop:Generator_RowEvArgName="FullTeacherToolRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="teacherID" msprop:Generator_ColumnVarNameInTable="columnteacherID" msprop:Generator_ColumnPropNameInRow="teacherID" msprop:Generator_ColumnPropNameInTable="teacherIDColumn" msprop:Generator_UserColumnName="teacherID" type="xs:long" />
              <xs:element name="toolID" msprop:Generator_ColumnVarNameInTable="columntoolID" msprop:Generator_ColumnPropNameInRow="toolID" msprop:Generator_ColumnPropNameInTable="toolIDColumn" msprop:Generator_UserColumnName="toolID" type="xs:long" />
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="toolName" msprop:Generator_ColumnVarNameInTable="columntoolName" msprop:Generator_ColumnPropNameInRow="toolName" msprop:Generator_ColumnPropNameInTable="toolNameColumn" msprop:Generator_UserColumnName="toolName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="firstName" msprop:Generator_ColumnVarNameInTable="columnfirstName" msprop:Generator_ColumnPropNameInRow="firstName" msprop:Generator_ColumnPropNameInTable="firstNameColumn" msprop:Generator_UserColumnName="firstName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastName" msprop:Generator_ColumnVarNameInTable="columnlastName" msprop:Generator_ColumnPropNameInRow="lastName" msprop:Generator_ColumnPropNameInTable="lastNameColumn" msprop:Generator_UserColumnName="lastName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TeacherFreeTime" msprop:Generator_TableClassName="TeacherFreeTimeDataTable" msprop:Generator_TableVarName="tableTeacherFreeTime" msprop:Generator_RowChangedName="TeacherFreeTimeRowChanged" msprop:Generator_TablePropName="TeacherFreeTime" msprop:Generator_RowDeletingName="TeacherFreeTimeRowDeleting" msprop:Generator_RowChangingName="TeacherFreeTimeRowChanging" msprop:Generator_RowEvHandlerName="TeacherFreeTimeRowChangeEventHandler" msprop:Generator_RowDeletedName="TeacherFreeTimeRowDeleted" msprop:Generator_RowClassName="TeacherFreeTimeRow" msprop:Generator_UserTableName="TeacherFreeTime" msprop:Generator_RowEvArgName="TeacherFreeTimeRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="teacherID" msprop:Generator_ColumnVarNameInTable="columnteacherID" msprop:Generator_ColumnPropNameInRow="teacherID" msprop:Generator_ColumnPropNameInTable="teacherIDColumn" msprop:Generator_UserColumnName="teacherID" type="xs:long" />
              <xs:element name="DOW" msprop:Generator_ColumnVarNameInTable="columnDOW" msprop:Generator_ColumnPropNameInRow="DOW" msprop:Generator_ColumnPropNameInTable="DOWColumn" msprop:Generator_UserColumnName="DOW" type="xs:unsignedByte" />
              <xs:element name="fromTime" msprop:Generator_ColumnVarNameInTable="columnfromTime" msprop:Generator_ColumnPropNameInRow="fromTime" msprop:Generator_ColumnPropNameInTable="fromTimeColumn" msprop:Generator_UserColumnName="fromTime">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="toTime" msprop:Generator_ColumnVarNameInTable="columntoTime" msprop:Generator_ColumnPropNameInRow="toTime" msprop:Generator_ColumnPropNameInTable="toTimeColumn" msprop:Generator_UserColumnName="toTime">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullTeacherFreeTime" msprop:Generator_TableClassName="FullTeacherFreeTimeDataTable" msprop:Generator_TableVarName="tableFullTeacherFreeTime" msprop:Generator_RowChangedName="FullTeacherFreeTimeRowChanged" msprop:Generator_TablePropName="FullTeacherFreeTime" msprop:Generator_RowDeletingName="FullTeacherFreeTimeRowDeleting" msprop:Generator_RowChangingName="FullTeacherFreeTimeRowChanging" msprop:Generator_RowEvHandlerName="FullTeacherFreeTimeRowChangeEventHandler" msprop:Generator_RowDeletedName="FullTeacherFreeTimeRowDeleted" msprop:Generator_RowClassName="FullTeacherFreeTimeRow" msprop:Generator_UserTableName="FullTeacherFreeTime" msprop:Generator_RowEvArgName="FullTeacherFreeTimeRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="teacherID" msprop:Generator_ColumnVarNameInTable="columnteacherID" msprop:Generator_ColumnPropNameInRow="teacherID" msprop:Generator_ColumnPropNameInTable="teacherIDColumn" msprop:Generator_UserColumnName="teacherID" type="xs:long" />
              <xs:element name="DOW" msprop:Generator_ColumnVarNameInTable="columnDOW" msprop:Generator_ColumnPropNameInRow="DOW" msprop:Generator_ColumnPropNameInTable="DOWColumn" msprop:Generator_UserColumnName="DOW" type="xs:unsignedByte" />
              <xs:element name="fromTime" msprop:Generator_ColumnVarNameInTable="columnfromTime" msprop:Generator_ColumnPropNameInRow="fromTime" msprop:Generator_ColumnPropNameInTable="fromTimeColumn" msprop:Generator_UserColumnName="fromTime">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="toTime" msprop:Generator_ColumnVarNameInTable="columntoTime" msprop:Generator_ColumnPropNameInRow="toTime" msprop:Generator_ColumnPropNameInTable="toTimeColumn" msprop:Generator_UserColumnName="toTime">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="firstName" msprop:Generator_ColumnVarNameInTable="columnfirstName" msprop:Generator_ColumnPropNameInRow="firstName" msprop:Generator_ColumnPropNameInTable="firstNameColumn" msprop:Generator_UserColumnName="firstName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastName" msprop:Generator_ColumnVarNameInTable="columnlastName" msprop:Generator_ColumnPropNameInRow="lastName" msprop:Generator_ColumnPropNameInTable="lastNameColumn" msprop:Generator_UserColumnName="lastName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dayName" msprop:Generator_ColumnVarNameInTable="columndayName" msprop:Generator_ColumnPropNameInRow="dayName" msprop:Generator_ColumnPropNameInTable="dayNameColumn" msprop:Generator_UserColumnName="dayName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="WeekDays" msprop:Generator_TableClassName="WeekDaysDataTable" msprop:Generator_TableVarName="tableWeekDays" msprop:Generator_RowChangedName="WeekDaysRowChanged" msprop:Generator_TablePropName="WeekDays" msprop:Generator_RowDeletingName="WeekDaysRowDeleting" msprop:Generator_RowChangingName="WeekDaysRowChanging" msprop:Generator_RowEvHandlerName="WeekDaysRowChangeEventHandler" msprop:Generator_RowDeletedName="WeekDaysRowDeleted" msprop:Generator_RowClassName="WeekDaysRow" msprop:Generator_UserTableName="WeekDays" msprop:Generator_RowEvArgName="WeekDaysRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:unsignedByte" />
              <xs:element name="dayName" msprop:Generator_ColumnVarNameInTable="columndayName" msprop:Generator_ColumnPropNameInRow="dayName" msprop:Generator_ColumnPropNameInTable="dayNameColumn" msprop:Generator_UserColumnName="dayName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FileType" msprop:Generator_TableClassName="FileTypeDataTable" msprop:Generator_TableVarName="tableFileType" msprop:Generator_RowChangedName="FileTypeRowChanged" msprop:Generator_TablePropName="FileType" msprop:Generator_RowDeletingName="FileTypeRowDeleting" msprop:Generator_RowChangingName="FileTypeRowChanging" msprop:Generator_RowEvHandlerName="FileTypeRowChangeEventHandler" msprop:Generator_RowDeletedName="FileTypeRowDeleted" msprop:Generator_RowClassName="FileTypeRow" msprop:Generator_UserTableName="FileType" msprop:Generator_RowEvArgName="FileTypeRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:unsignedByte" />
              <xs:element name="fileTypeName" msprop:Generator_ColumnVarNameInTable="columnfileTypeName" msprop:Generator_ColumnPropNameInRow="fileTypeName" msprop:Generator_ColumnPropNameInTable="fileTypeNameColumn" msprop:Generator_UserColumnName="fileTypeName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PersonFile" msprop:Generator_TableClassName="PersonFileDataTable" msprop:Generator_TableVarName="tablePersonFile" msprop:Generator_RowChangedName="PersonFileRowChanged" msprop:Generator_TablePropName="PersonFile" msprop:Generator_RowDeletingName="PersonFileRowDeleting" msprop:Generator_RowChangingName="PersonFileRowChanging" msprop:Generator_RowEvHandlerName="PersonFileRowChangeEventHandler" msprop:Generator_RowDeletedName="PersonFileRowDeleted" msprop:Generator_RowClassName="PersonFileRow" msprop:Generator_UserTableName="PersonFile" msprop:Generator_RowEvArgName="PersonFileRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="personID" msprop:Generator_ColumnVarNameInTable="columnpersonID" msprop:Generator_ColumnPropNameInRow="personID" msprop:Generator_ColumnPropNameInTable="personIDColumn" msprop:Generator_UserColumnName="personID" type="xs:long" />
              <xs:element name="fileAddress" msprop:Generator_ColumnVarNameInTable="columnfileAddress" msprop:Generator_ColumnPropNameInRow="fileAddress" msprop:Generator_ColumnPropNameInTable="fileAddressColumn" msprop:Generator_UserColumnName="fileAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fileTypeID" msprop:Generator_ColumnVarNameInTable="columnfileTypeID" msprop:Generator_ColumnPropNameInRow="fileTypeID" msprop:Generator_ColumnPropNameInTable="fileTypeIDColumn" msprop:Generator_UserColumnName="fileTypeID" type="xs:unsignedByte" />
              <xs:element name="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PersonType" msprop:Generator_TableClassName="PersonTypeDataTable" msprop:Generator_TableVarName="tablePersonType" msprop:Generator_RowChangedName="PersonTypeRowChanged" msprop:Generator_TablePropName="PersonType" msprop:Generator_RowDeletingName="PersonTypeRowDeleting" msprop:Generator_RowChangingName="PersonTypeRowChanging" msprop:Generator_RowEvHandlerName="PersonTypeRowChangeEventHandler" msprop:Generator_RowDeletedName="PersonTypeRowDeleted" msprop:Generator_RowClassName="PersonTypeRow" msprop:Generator_UserTableName="PersonType" msprop:Generator_RowEvArgName="PersonTypeRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:unsignedByte" />
              <xs:element name="personTypeName" msprop:Generator_ColumnVarNameInTable="columnpersonTypeName" msprop:Generator_ColumnPropNameInRow="personTypeName" msprop:Generator_ColumnPropNameInTable="personTypeNameColumn" msprop:Generator_UserColumnName="personTypeName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullPersonFile" msprop:Generator_TableClassName="FullPersonFileDataTable" msprop:Generator_TableVarName="tableFullPersonFile" msprop:Generator_RowChangedName="FullPersonFileRowChanged" msprop:Generator_TablePropName="FullPersonFile" msprop:Generator_RowDeletingName="FullPersonFileRowDeleting" msprop:Generator_RowChangingName="FullPersonFileRowChanging" msprop:Generator_RowEvHandlerName="FullPersonFileRowChangeEventHandler" msprop:Generator_RowDeletedName="FullPersonFileRowDeleted" msprop:Generator_RowClassName="FullPersonFileRow" msprop:Generator_UserTableName="FullPersonFile" msprop:Generator_RowEvArgName="FullPersonFileRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="personID" msprop:Generator_ColumnVarNameInTable="columnpersonID" msprop:Generator_ColumnPropNameInRow="personID" msprop:Generator_ColumnPropNameInTable="personIDColumn" msprop:Generator_UserColumnName="personID" type="xs:long" />
              <xs:element name="fileAddress" msprop:Generator_ColumnVarNameInTable="columnfileAddress" msprop:Generator_ColumnPropNameInRow="fileAddress" msprop:Generator_ColumnPropNameInTable="fileAddressColumn" msprop:Generator_UserColumnName="fileAddress">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fileTypeID" msprop:Generator_ColumnVarNameInTable="columnfileTypeID" msprop:Generator_ColumnPropNameInRow="fileTypeID" msprop:Generator_ColumnPropNameInTable="fileTypeIDColumn" msprop:Generator_UserColumnName="fileTypeID" type="xs:unsignedByte" />
              <xs:element name="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="firstName" msprop:Generator_ColumnVarNameInTable="columnfirstName" msprop:Generator_ColumnPropNameInRow="firstName" msprop:Generator_ColumnPropNameInTable="firstNameColumn" msprop:Generator_UserColumnName="firstName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastName" msprop:Generator_ColumnVarNameInTable="columnlastName" msprop:Generator_ColumnPropNameInRow="lastName" msprop:Generator_ColumnPropNameInTable="lastNameColumn" msprop:Generator_UserColumnName="lastName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="personTypeName" msprop:Generator_ColumnVarNameInTable="columnpersonTypeName" msprop:Generator_ColumnPropNameInRow="personTypeName" msprop:Generator_ColumnPropNameInTable="personTypeNameColumn" msprop:Generator_UserColumnName="personTypeName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fileTypeName" msprop:Generator_ColumnVarNameInTable="columnfileTypeName" msprop:Generator_ColumnPropNameInRow="fileTypeName" msprop:Generator_ColumnPropNameInTable="fileTypeNameColumn" msprop:Generator_UserColumnName="fileTypeName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullTermProgram" msprop:Generator_TableClassName="FullTermProgramDataTable" msprop:Generator_TableVarName="tableFullTermProgram" msprop:Generator_RowChangedName="FullTermProgramRowChanged" msprop:Generator_TablePropName="FullTermProgram" msprop:Generator_RowDeletingName="FullTermProgramRowDeleting" msprop:Generator_RowChangingName="FullTermProgramRowChanging" msprop:Generator_RowEvHandlerName="FullTermProgramRowChangeEventHandler" msprop:Generator_RowDeletedName="FullTermProgramRowDeleted" msprop:Generator_RowClassName="FullTermProgramRow" msprop:Generator_UserTableName="FullTermProgram" msprop:Generator_RowEvArgName="FullTermProgramRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="termID" msprop:Generator_ColumnVarNameInTable="columntermID" msprop:Generator_ColumnPropNameInRow="termID" msprop:Generator_ColumnPropNameInTable="termIDColumn" msprop:Generator_UserColumnName="termID" type="xs:long" />
              <xs:element name="DOW" msprop:Generator_ColumnVarNameInTable="columnDOW" msprop:Generator_ColumnPropNameInRow="DOW" msprop:Generator_ColumnPropNameInTable="DOWColumn" msprop:Generator_UserColumnName="DOW" type="xs:unsignedByte" />
              <xs:element name="time" msprop:Generator_ColumnVarNameInTable="columntime" msprop:Generator_ColumnPropNameInRow="time" msprop:Generator_ColumnPropNameInTable="timeColumn" msprop:Generator_UserColumnName="time">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="dayName" msprop:Generator_ColumnVarNameInTable="columndayName" msprop:Generator_ColumnPropNameInRow="dayName" msprop:Generator_ColumnPropNameInTable="dayNameColumn" msprop:Generator_UserColumnName="dayName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FullProgramString" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFullProgramString" msprop:Generator_ColumnPropNameInRow="FullProgramString" msprop:Generator_ColumnPropNameInTable="FullProgramStringColumn" msprop:Generator_UserColumnName="FullProgramString" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="18" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="classID" msprop:Generator_ColumnVarNameInTable="columnclassID" msprop:Generator_ColumnPropNameInRow="classID" msprop:Generator_ColumnPropNameInTable="classIDColumn" msprop:Generator_UserColumnName="classID" type="xs:long" />
              <xs:element name="classNumber" msprop:Generator_ColumnVarNameInTable="columnclassNumber" msprop:Generator_ColumnPropNameInRow="classNumber" msprop:Generator_ColumnPropNameInTable="classNumberColumn" msprop:Generator_UserColumnName="classNumber">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullRegister" msprop:Generator_TableClassName="FullRegisterDataTable" msprop:Generator_TableVarName="tableFullRegister" msprop:Generator_TablePropName="FullRegister" msprop:Generator_RowDeletingName="FullRegisterRowDeleting" msprop:Generator_RowChangingName="FullRegisterRowChanging" msprop:Generator_RowEvHandlerName="FullRegisterRowChangeEventHandler" msprop:Generator_RowDeletedName="FullRegisterRowDeleted" msprop:Generator_UserTableName="FullRegister" msprop:Generator_RowChangedName="FullRegisterRowChanged" msprop:Generator_RowEvArgName="FullRegisterRowChangeEvent" msprop:Generator_RowClassName="FullRegisterRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="registerDate" msprop:Generator_ColumnVarNameInTable="columnregisterDate" msprop:Generator_ColumnPropNameInRow="registerDate" msprop:Generator_ColumnPropNameInTable="registerDateColumn" msprop:Generator_UserColumnName="registerDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="studentID" msprop:Generator_ColumnVarNameInTable="columnstudentID" msprop:Generator_ColumnPropNameInRow="studentID" msprop:Generator_ColumnPropNameInTable="studentIDColumn" msprop:Generator_UserColumnName="studentID" type="xs:long" />
              <xs:element name="termID" msprop:Generator_ColumnVarNameInTable="columntermID" msprop:Generator_ColumnPropNameInRow="termID" msprop:Generator_ColumnPropNameInTable="termIDColumn" msprop:Generator_UserColumnName="termID" type="xs:long" />
              <xs:element name="teacherName" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnteacherName" msprop:Generator_ColumnPropNameInRow="teacherName" msprop:Generator_ColumnPropNameInTable="teacherNameColumn" msprop:Generator_UserColumnName="teacherName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="61" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="studentName" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnstudentName" msprop:Generator_ColumnPropNameInRow="studentName" msprop:Generator_ColumnPropNameInTable="studentNameColumn" msprop:Generator_UserColumnName="studentName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="61" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="toolName" msprop:Generator_ColumnVarNameInTable="columntoolName" msprop:Generator_ColumnPropNameInRow="toolName" msprop:Generator_ColumnPropNameInTable="toolNameColumn" msprop:Generator_UserColumnName="toolName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullTransaction" msprop:Generator_TableClassName="FullTransactionDataTable" msprop:Generator_TableVarName="tableFullTransaction" msprop:Generator_TablePropName="FullTransaction" msprop:Generator_RowDeletingName="FullTransactionRowDeleting" msprop:Generator_RowChangingName="FullTransactionRowChanging" msprop:Generator_RowEvHandlerName="FullTransactionRowChangeEventHandler" msprop:Generator_RowDeletedName="FullTransactionRowDeleted" msprop:Generator_UserTableName="FullTransaction" msprop:Generator_RowChangedName="FullTransactionRowChanged" msprop:Generator_RowEvArgName="FullTransactionRowChangeEvent" msprop:Generator_RowClassName="FullTransactionRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="personID" msprop:Generator_ColumnVarNameInTable="columnpersonID" msprop:Generator_ColumnPropNameInRow="personID" msprop:Generator_ColumnPropNameInTable="personIDColumn" msprop:Generator_UserColumnName="personID" type="xs:long" minOccurs="0" />
              <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="debit" msprop:Generator_ColumnVarNameInTable="columndebit" msprop:Generator_ColumnPropNameInRow="debit" msprop:Generator_ColumnPropNameInTable="debitColumn" msprop:Generator_UserColumnName="debit" type="xs:long" />
              <xs:element name="credit" msprop:Generator_ColumnVarNameInTable="columncredit" msprop:Generator_ColumnPropNameInRow="credit" msprop:Generator_ColumnPropNameInTable="creditColumn" msprop:Generator_UserColumnName="credit" type="xs:long" />
              <xs:element name="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="firstName" msprop:Generator_ColumnVarNameInTable="columnfirstName" msprop:Generator_ColumnPropNameInRow="firstName" msprop:Generator_ColumnPropNameInTable="firstNameColumn" msprop:Generator_UserColumnName="firstName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastName" msprop:Generator_ColumnVarNameInTable="columnlastName" msprop:Generator_ColumnPropNameInRow="lastName" msprop:Generator_ColumnPropNameInTable="lastNameColumn" msprop:Generator_UserColumnName="lastName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FullName" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFullName" msprop:Generator_ColumnPropNameInRow="FullName" msprop:Generator_ColumnPropNameInTable="FullNameColumn" msprop:Generator_UserColumnName="FullName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="61" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullSession" msprop:Generator_TableClassName="FullSessionDataTable" msprop:Generator_TableVarName="tableFullSession" msprop:Generator_TablePropName="FullSession" msprop:Generator_RowDeletingName="FullSessionRowDeleting" msprop:Generator_RowChangingName="FullSessionRowChanging" msprop:Generator_RowEvHandlerName="FullSessionRowChangeEventHandler" msprop:Generator_RowDeletedName="FullSessionRowDeleted" msprop:Generator_UserTableName="FullSession" msprop:Generator_RowChangedName="FullSessionRowChanged" msprop:Generator_RowEvArgName="FullSessionRowChangeEvent" msprop:Generator_RowClassName="FullSessionRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="time" msprop:Generator_ColumnVarNameInTable="columntime" msprop:Generator_ColumnPropNameInRow="time" msprop:Generator_ColumnPropNameInTable="timeColumn" msprop:Generator_UserColumnName="time">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="status" msprop:Generator_ColumnVarNameInTable="columnstatus" msprop:Generator_ColumnPropNameInRow="status" msprop:Generator_ColumnPropNameInTable="statusColumn" msprop:Generator_UserColumnName="status" type="xs:int" />
              <xs:element name="registerID" msprop:Generator_ColumnVarNameInTable="columnregisterID" msprop:Generator_ColumnPropNameInRow="registerID" msprop:Generator_ColumnPropNameInTable="registerIDColumn" msprop:Generator_UserColumnName="registerID" type="xs:long" />
              <xs:element name="grade" msprop:Generator_ColumnVarNameInTable="columngrade" msprop:Generator_ColumnPropNameInRow="grade" msprop:Generator_ColumnPropNameInTable="gradeColumn" msprop:Generator_UserColumnName="grade" type="xs:int" />
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="classID" msprop:Generator_ColumnVarNameInTable="columnclassID" msprop:Generator_ColumnPropNameInRow="classID" msprop:Generator_ColumnPropNameInTable="classIDColumn" msprop:Generator_UserColumnName="classID" type="xs:long" />
              <xs:element name="stateName" msprop:Generator_ColumnVarNameInTable="columnstateName" msprop:Generator_ColumnPropNameInRow="stateName" msprop:Generator_ColumnPropNameInTable="stateNameColumn" msprop:Generator_UserColumnName="stateName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StudentName" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnStudentName" msprop:Generator_ColumnPropNameInRow="StudentName" msprop:Generator_ColumnPropNameInTable="StudentNameColumn" msprop:Generator_UserColumnName="StudentName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="61" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TeacherName" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTeacherName" msprop:Generator_ColumnPropNameInRow="TeacherName" msprop:Generator_ColumnPropNameInTable="TeacherNameColumn" msprop:Generator_UserColumnName="TeacherName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="118" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="termID" msprop:Generator_ColumnVarNameInTable="columntermID" msprop:Generator_ColumnPropNameInRow="termID" msprop:Generator_ColumnPropNameInTable="termIDColumn" msprop:Generator_UserColumnName="termID" type="xs:long" />
              <xs:element name="studentID" msprop:Generator_ColumnVarNameInTable="columnstudentID" msprop:Generator_ColumnPropNameInRow="studentID" msprop:Generator_ColumnPropNameInTable="studentIDColumn" msprop:Generator_UserColumnName="studentID" type="xs:long" />
              <xs:element name="teacherID" msprop:Generator_ColumnVarNameInTable="columnteacherID" msprop:Generator_ColumnPropNameInRow="teacherID" msprop:Generator_ColumnPropNameInTable="teacherIDColumn" msprop:Generator_UserColumnName="teacherID" type="xs:long" />
              <xs:element name="toolName" msprop:Generator_ColumnVarNameInTable="columntoolName" msprop:Generator_ColumnPropNameInRow="toolName" msprop:Generator_ColumnPropNameInTable="toolNameColumn" msprop:Generator_UserColumnName="toolName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="classNumber" msprop:Generator_ColumnVarNameInTable="columnclassNumber" msprop:Generator_ColumnPropNameInRow="classNumber" msprop:Generator_ColumnPropNameInTable="classNumberColumn" msprop:Generator_UserColumnName="classNumber">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SessionStatus" msprop:Generator_TableClassName="SessionStatusDataTable" msprop:Generator_TableVarName="tableSessionStatus" msprop:Generator_RowChangedName="SessionStatusRowChanged" msprop:Generator_TablePropName="SessionStatus" msprop:Generator_RowDeletingName="SessionStatusRowDeleting" msprop:Generator_RowChangingName="SessionStatusRowChanging" msprop:Generator_RowEvHandlerName="SessionStatusRowChangeEventHandler" msprop:Generator_RowDeletedName="SessionStatusRowDeleted" msprop:Generator_RowClassName="SessionStatusRow" msprop:Generator_UserTableName="SessionStatus" msprop:Generator_RowEvArgName="SessionStatusRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="stateName" msprop:Generator_ColumnVarNameInTable="columnstateName" msprop:Generator_ColumnPropNameInRow="stateName" msprop:Generator_ColumnPropNameInTable="stateNameColumn" msprop:Generator_UserColumnName="stateName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullContacts" msprop:Generator_TableClassName="FullContactsDataTable" msprop:Generator_TableVarName="tableFullContacts" msprop:Generator_TablePropName="FullContacts" msprop:Generator_RowDeletingName="FullContactsRowDeleting" msprop:Generator_RowChangingName="FullContactsRowChanging" msprop:Generator_RowEvHandlerName="FullContactsRowChangeEventHandler" msprop:Generator_RowDeletedName="FullContactsRowDeleted" msprop:Generator_UserTableName="FullContacts" msprop:Generator_RowChangedName="FullContactsRowChanged" msprop:Generator_RowEvArgName="FullContactsRowChangeEvent" msprop:Generator_RowClassName="FullContactsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:long" />
              <xs:element name="personID" msprop:Generator_ColumnVarNameInTable="columnpersonID" msprop:Generator_ColumnPropNameInRow="personID" msprop:Generator_ColumnPropNameInTable="personIDColumn" msprop:Generator_UserColumnName="personID" type="xs:long" minOccurs="0" />
              <xs:element name="firstName" msprop:Generator_ColumnVarNameInTable="columnfirstName" msprop:Generator_ColumnPropNameInRow="firstName" msprop:Generator_ColumnPropNameInTable="firstNameColumn" msprop:Generator_UserColumnName="firstName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastName" msprop:Generator_ColumnVarNameInTable="columnlastName" msprop:Generator_ColumnPropNameInRow="lastName" msprop:Generator_ColumnPropNameInTable="lastNameColumn" msprop:Generator_UserColumnName="lastName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="creator" msprop:Generator_ColumnVarNameInTable="columncreator" msprop:Generator_ColumnPropNameInRow="creator" msprop:Generator_ColumnPropNameInTable="creatorColumn" msprop:Generator_UserColumnName="creator" type="xs:long" />
              <xs:element name="createDate" msprop:Generator_ColumnVarNameInTable="columncreateDate" msprop:Generator_ColumnPropNameInRow="createDate" msprop:Generator_ColumnPropNameInTable="createDateColumn" msprop:Generator_UserColumnName="createDate">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="lastEditor" msprop:Generator_ColumnVarNameInTable="columnlastEditor" msprop:Generator_ColumnPropNameInRow="lastEditor" msprop:Generator_ColumnPropNameInTable="lastEditorColumn" msprop:Generator_UserColumnName="lastEditor" type="xs:long" minOccurs="0" />
              <xs:element name="editDate" msprop:Generator_ColumnVarNameInTable="columneditDate" msprop:Generator_ColumnPropNameInRow="editDate" msprop:Generator_ColumnPropNameInTable="editDateColumn" msprop:Generator_UserColumnName="editDate" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PrimaryPhone" msprop:Generator_ColumnVarNameInTable="columnPrimaryPhone" msprop:Generator_ColumnPropNameInRow="PrimaryPhone" msprop:Generator_ColumnPropNameInTable="PrimaryPhoneColumn" msprop:Generator_UserColumnName="PrimaryPhone" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PrimaryMobile" msprop:Generator_ColumnVarNameInTable="columnPrimaryMobile" msprop:Generator_ColumnPropNameInRow="PrimaryMobile" msprop:Generator_ColumnPropNameInTable="PrimaryMobileColumn" msprop:Generator_UserColumnName="PrimaryMobile" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ContactType" msprop:Generator_TableClassName="ContactTypeDataTable" msprop:Generator_TableVarName="tableContactType" msprop:Generator_RowChangedName="ContactTypeRowChanged" msprop:Generator_TablePropName="ContactType" msprop:Generator_RowDeletingName="ContactTypeRowDeleting" msprop:Generator_RowChangingName="ContactTypeRowChanging" msprop:Generator_RowEvHandlerName="ContactTypeRowChangeEventHandler" msprop:Generator_RowDeletedName="ContactTypeRowDeleted" msprop:Generator_RowClassName="ContactTypeRow" msprop:Generator_UserTableName="ContactType" msprop:Generator_RowEvArgName="ContactTypeRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="contactTypeName" msprop:Generator_ColumnVarNameInTable="columncontactTypeName" msprop:Generator_ColumnPropNameInRow="contactTypeName" msprop:Generator_ColumnPropNameInTable="contactTypeNameColumn" msprop:Generator_UserColumnName="contactTypeName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="academyID" msprop:Generator_ColumnVarNameInTable="columnacademyID" msprop:Generator_ColumnPropNameInRow="academyID" msprop:Generator_ColumnPropNameInTable="academyIDColumn" msprop:Generator_UserColumnName="academyID" type="xs:int" />
              <xs:element name="isSystem" msprop:Generator_ColumnVarNameInTable="columnisSystem" msprop:Generator_ColumnPropNameInRow="isSystem" msprop:Generator_ColumnPropNameInTable="isSystemColumn" msprop:Generator_UserColumnName="isSystem" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FullContactDetail" msprop:Generator_TableClassName="FullContactDetailDataTable" msprop:Generator_TableVarName="tableFullContactDetail" msprop:Generator_RowChangedName="FullContactDetailRowChanged" msprop:Generator_TablePropName="FullContactDetail" msprop:Generator_RowDeletingName="FullContactDetailRowDeleting" msprop:Generator_RowChangingName="FullContactDetailRowChanging" msprop:Generator_RowEvHandlerName="FullContactDetailRowChangeEventHandler" msprop:Generator_RowDeletedName="FullContactDetailRowDeleted" msprop:Generator_RowClassName="FullContactDetailRow" msprop:Generator_UserTableName="FullContactDetail" msprop:Generator_RowEvArgName="FullContactDetailRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="contactID" msprop:Generator_ColumnVarNameInTable="columncontactID" msprop:Generator_ColumnPropNameInRow="contactID" msprop:Generator_ColumnPropNameInTable="contactIDColumn" msprop:Generator_UserColumnName="contactID" type="xs:long" />
              <xs:element name="contactTypeName" msprop:Generator_ColumnVarNameInTable="columncontactTypeName" msprop:Generator_ColumnPropNameInRow="contactTypeName" msprop:Generator_ColumnPropNameInTable="contactTypeNameColumn" msprop:Generator_UserColumnName="contactTypeName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="contactTypeID" msprop:Generator_ColumnVarNameInTable="columncontactTypeID" msprop:Generator_ColumnPropNameInRow="contactTypeID" msprop:Generator_ColumnPropNameInTable="contactTypeIDColumn" msprop:Generator_UserColumnName="contactTypeID" type="xs:int" />
              <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Academy" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Class_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Class" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Contact_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Contact" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="ContactDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ContactDetail" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Holiday_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Holiday" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Person_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Person" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Register_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Register" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Session_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Session" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Term_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Term" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Tool_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Tool" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="Transaction_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Transaction" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullTeacherTool_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullTeacherTool" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="TeacherFreeTime_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TeacherFreeTime" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullTeacherFreeTime_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullTeacherFreeTime" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="WeekDays_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:WeekDays" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FileType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FileType" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="PersonFile_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PersonFile" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="PersonType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PersonType" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullPersonFile_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullPersonFile" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullTermProgram_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullTermProgram" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullRegister_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullRegister" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullTransaction_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullTransaction" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullSession_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullSession" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="SessionStatus_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SessionStatus" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullContacts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullContacts" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="ContactType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ContactType" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
    <xs:unique name="FullContactDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FullContactDetail" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_Class_Academy" msdata:parent="Academy" msdata:child="Class" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Class" msprop:Generator_ChildPropName="GetClassRows" msprop:Generator_UserRelationName="FK_Class_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Class_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Contact_Academy" msdata:parent="Academy" msdata:child="Contact" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Contact" msprop:Generator_ChildPropName="GetContactRows" msprop:Generator_UserRelationName="FK_Contact_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Contact_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_ContactDetail_Contact" msdata:parent="Contact" msdata:child="ContactDetail" msdata:parentkey="ID" msdata:childkey="contactID" msprop:Generator_UserChildTable="ContactDetail" msprop:Generator_ChildPropName="GetContactDetailRows" msprop:Generator_UserRelationName="FK_ContactDetail_Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_RelationVarName="relationFK_ContactDetail_Contact" msprop:Generator_UserParentTable="Contact" />
      <msdata:Relationship name="FK_Holiday_Academy" msdata:parent="Academy" msdata:child="Holiday" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Holiday" msprop:Generator_ChildPropName="GetHolidayRows" msprop:Generator_UserRelationName="FK_Holiday_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Holiday_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Person_Academy" msdata:parent="Academy" msdata:child="Person" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Person" msprop:Generator_ChildPropName="GetPersonRows" msprop:Generator_UserRelationName="FK_Person_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Person_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Register_Academy" msdata:parent="Academy" msdata:child="Register" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Register" msprop:Generator_ChildPropName="GetRegisterRows" msprop:Generator_UserRelationName="FK_Register_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Register_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Register_Person" msdata:parent="Person" msdata:child="Register" msdata:parentkey="ID" msdata:childkey="studentID" msprop:Generator_UserChildTable="Register" msprop:Generator_ChildPropName="GetRegisterRows" msprop:Generator_UserRelationName="FK_Register_Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_RelationVarName="relationFK_Register_Person" msprop:Generator_UserParentTable="Person" />
      <msdata:Relationship name="FK_Register_Term" msdata:parent="Term" msdata:child="Register" msdata:parentkey="ID" msdata:childkey="termID" msprop:Generator_UserChildTable="Register" msprop:Generator_ChildPropName="GetRegisterRows" msprop:Generator_UserRelationName="FK_Register_Term" msprop:Generator_ParentPropName="TermRow" msprop:Generator_RelationVarName="relationFK_Register_Term" msprop:Generator_UserParentTable="Term" />
      <msdata:Relationship name="FK_Session_Academy" msdata:parent="Academy" msdata:child="Session" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Session" msprop:Generator_ChildPropName="GetSessionRows" msprop:Generator_UserRelationName="FK_Session_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Session_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Session_Register" msdata:parent="Register" msdata:child="Session" msdata:parentkey="ID" msdata:childkey="registerID" msprop:Generator_UserChildTable="Session" msprop:Generator_ChildPropName="GetSessionRows" msprop:Generator_UserRelationName="FK_Session_Register" msprop:Generator_ParentPropName="RegisterRow" msprop:Generator_RelationVarName="relationFK_Session_Register" msprop:Generator_UserParentTable="Register" />
      <msdata:Relationship name="FK_Term_Academy" msdata:parent="Academy" msdata:child="Term" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Term" msprop:Generator_ChildPropName="GetTermRows" msprop:Generator_UserRelationName="FK_Term_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Term_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Term_Class" msdata:parent="Class" msdata:child="Term" msdata:parentkey="ID" msdata:childkey="classID" msprop:Generator_UserChildTable="Term" msprop:Generator_ChildPropName="GetTermRows" msprop:Generator_UserRelationName="FK_Term_Class" msprop:Generator_ParentPropName="ClassRow" msprop:Generator_RelationVarName="relationFK_Term_Class" msprop:Generator_UserParentTable="Class" />
      <msdata:Relationship name="FK_Term_Person" msdata:parent="Person" msdata:child="Term" msdata:parentkey="ID" msdata:childkey="teacherID" msprop:Generator_UserChildTable="Term" msprop:Generator_ChildPropName="GetTermRows" msprop:Generator_UserRelationName="FK_Term_Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_RelationVarName="relationFK_Term_Person" msprop:Generator_UserParentTable="Person" />
      <msdata:Relationship name="FK_Term_Tool" msdata:parent="Tool" msdata:child="Term" msdata:parentkey="ID" msdata:childkey="toolID" msprop:Generator_UserChildTable="Term" msprop:Generator_ChildPropName="GetTermRows" msprop:Generator_UserRelationName="FK_Term_Tool" msprop:Generator_ParentPropName="ToolRow" msprop:Generator_RelationVarName="relationFK_Term_Tool" msprop:Generator_UserParentTable="Tool" />
      <msdata:Relationship name="FK_Tool_Academy" msdata:parent="Academy" msdata:child="Tool" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Tool" msprop:Generator_ChildPropName="GetToolRows" msprop:Generator_UserRelationName="FK_Tool_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Tool_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Transaction_Academy" msdata:parent="Academy" msdata:child="Transaction" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="Transaction" msprop:Generator_ChildPropName="GetTransactionRows" msprop:Generator_UserRelationName="FK_Transaction_Academy" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Transaction_Academy" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Transaction_Person" msdata:parent="Person" msdata:child="Transaction" msdata:parentkey="ID" msdata:childkey="personID" msprop:Generator_UserChildTable="Transaction" msprop:Generator_ChildPropName="GetTransactionRows" msprop:Generator_UserRelationName="FK_Transaction_Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_RelationVarName="relationFK_Transaction_Person" msprop:Generator_UserParentTable="Person" />
      <msdata:Relationship name="FK_Person_Academy1" msdata:parent="Academy" msdata:child="FullTeacherTool" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="FullTeacherTool" msprop:Generator_ChildPropName="GetFullTeacherToolRows" msprop:Generator_UserRelationName="FK_Person_Academy1" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Person_Academy1" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_TeacherFreeTime_Person" msdata:parent="Person" msdata:child="TeacherFreeTime" msdata:parentkey="ID" msdata:childkey="teacherID" msprop:Generator_UserChildTable="TeacherFreeTime" msprop:Generator_ChildPropName="GetTeacherFreeTimeRows" msprop:Generator_UserRelationName="FK_TeacherFreeTime_Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_RelationVarName="relationFK_TeacherFreeTime_Person" msprop:Generator_UserParentTable="Person" />
      <msdata:Relationship name="FK_Register_Person1" msdata:parent="FullTeacherFreeTime" msdata:child="Register" msdata:parentkey="ID" msdata:childkey="studentID" msprop:Generator_UserChildTable="Register" msprop:Generator_ChildPropName="GetRegisterRows" msprop:Generator_UserRelationName="FK_Register_Person1" msprop:Generator_RelationVarName="relationFK_Register_Person1" msprop:Generator_UserParentTable="FullTeacherFreeTime" msprop:Generator_ParentPropName="FullTeacherFreeTimeRow" />
      <msdata:Relationship name="FK_Term_Person1" msdata:parent="FullTeacherFreeTime" msdata:child="Term" msdata:parentkey="ID" msdata:childkey="teacherID" msprop:Generator_UserChildTable="Term" msprop:Generator_ChildPropName="GetTermRows" msprop:Generator_UserRelationName="FK_Term_Person1" msprop:Generator_RelationVarName="relationFK_Term_Person1" msprop:Generator_UserParentTable="FullTeacherFreeTime" msprop:Generator_ParentPropName="FullTeacherFreeTimeRow" />
      <msdata:Relationship name="FK_Transaction_Person1" msdata:parent="FullTeacherFreeTime" msdata:child="Transaction" msdata:parentkey="ID" msdata:childkey="personID" msprop:Generator_UserChildTable="Transaction" msprop:Generator_ChildPropName="GetTransactionRows" msprop:Generator_UserRelationName="FK_Transaction_Person1" msprop:Generator_RelationVarName="relationFK_Transaction_Person1" msprop:Generator_UserParentTable="FullTeacherFreeTime" msprop:Generator_ParentPropName="FullTeacherFreeTimeRow" />
      <msdata:Relationship name="FK_TeacherFreeTime_Person1" msdata:parent="FullTeacherFreeTime" msdata:child="TeacherFreeTime" msdata:parentkey="ID" msdata:childkey="teacherID" msprop:Generator_UserChildTable="TeacherFreeTime" msprop:Generator_ChildPropName="GetTeacherFreeTimeRows" msprop:Generator_UserRelationName="FK_TeacherFreeTime_Person1" msprop:Generator_RelationVarName="relationFK_TeacherFreeTime_Person1" msprop:Generator_UserParentTable="FullTeacherFreeTime" msprop:Generator_ParentPropName="FullTeacherFreeTimeRow" />
      <msdata:Relationship name="FK_TeacherFreeTime_WeekDays" msdata:parent="WeekDays" msdata:child="TeacherFreeTime" msdata:parentkey="ID" msdata:childkey="DOW" msprop:Generator_UserChildTable="TeacherFreeTime" msprop:Generator_ChildPropName="GetTeacherFreeTimeRows" msprop:Generator_UserRelationName="FK_TeacherFreeTime_WeekDays" msprop:Generator_RelationVarName="relationFK_TeacherFreeTime_WeekDays" msprop:Generator_UserParentTable="WeekDays" msprop:Generator_ParentPropName="WeekDaysRow" />
      <msdata:Relationship name="FK_PersonFile_FileType" msdata:parent="FileType" msdata:child="PersonFile" msdata:parentkey="ID" msdata:childkey="fileTypeID" msprop:Generator_UserChildTable="PersonFile" msprop:Generator_ChildPropName="GetPersonFileRows" msprop:Generator_UserRelationName="FK_PersonFile_FileType" msprop:Generator_ParentPropName="FileTypeRow" msprop:Generator_RelationVarName="relationFK_PersonFile_FileType" msprop:Generator_UserParentTable="FileType" />
      <msdata:Relationship name="FK_PersonFile_Person" msdata:parent="Person" msdata:child="PersonFile" msdata:parentkey="ID" msdata:childkey="personID" msprop:Generator_UserChildTable="PersonFile" msprop:Generator_ChildPropName="GetPersonFileRows" msprop:Generator_UserRelationName="FK_PersonFile_Person" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_RelationVarName="relationFK_PersonFile_Person" msprop:Generator_UserParentTable="Person" />
      <msdata:Relationship name="FK_Person_PersonType" msdata:parent="PersonType" msdata:child="Person" msdata:parentkey="ID" msdata:childkey="type" msprop:Generator_UserChildTable="Person" msprop:Generator_ChildPropName="GetPersonRows" msprop:Generator_UserRelationName="FK_Person_PersonType" msprop:Generator_RelationVarName="relationFK_Person_PersonType" msprop:Generator_UserParentTable="PersonType" msprop:Generator_ParentPropName="PersonTypeRow" />
      <msdata:Relationship name="FK_TermProgram_Term" msdata:parent="Term" msdata:child="FullTermProgram" msdata:parentkey="ID" msdata:childkey="termID" msprop:Generator_UserChildTable="FullTermProgram" msprop:Generator_ChildPropName="GetFullTermProgramRows" msprop:Generator_UserRelationName="FK_TermProgram_Term" msprop:Generator_RelationVarName="relationFK_TermProgram_Term" msprop:Generator_UserParentTable="Term" msprop:Generator_ParentPropName="TermRow" />
      <msdata:Relationship name="FK_TermProgram_WeekDays" msdata:parent="WeekDays" msdata:child="FullTermProgram" msdata:parentkey="ID" msdata:childkey="DOW" msprop:Generator_UserChildTable="FullTermProgram" msprop:Generator_ChildPropName="GetFullTermProgramRows" msprop:Generator_UserRelationName="FK_TermProgram_WeekDays" msprop:Generator_RelationVarName="relationFK_TermProgram_WeekDays" msprop:Generator_UserParentTable="WeekDays" msprop:Generator_ParentPropName="WeekDaysRow" />
      <msdata:Relationship name="FK_Session_Register1" msdata:parent="FullRegister" msdata:child="Session" msdata:parentkey="ID" msdata:childkey="registerID" msprop:Generator_UserChildTable="Session" msprop:Generator_ChildPropName="GetSessionRows" msprop:Generator_UserRelationName="FK_Session_Register1" msprop:Generator_RelationVarName="relationFK_Session_Register1" msprop:Generator_UserParentTable="FullRegister" msprop:Generator_ParentPropName="FullRegisterRow" />
      <msdata:Relationship name="FK_Register_Person2" msdata:parent="Person" msdata:child="FullRegister" msdata:parentkey="ID" msdata:childkey="studentID" msprop:Generator_UserChildTable="FullRegister" msprop:Generator_ChildPropName="GetFullRegisterRows" msprop:Generator_UserRelationName="FK_Register_Person2" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_RelationVarName="relationFK_Register_Person2" msprop:Generator_UserParentTable="Person" />
      <msdata:Relationship name="FK_Register_Term1" msdata:parent="Term" msdata:child="FullRegister" msdata:parentkey="ID" msdata:childkey="termID" msprop:Generator_UserChildTable="FullRegister" msprop:Generator_ChildPropName="GetFullRegisterRows" msprop:Generator_UserRelationName="FK_Register_Term1" msprop:Generator_ParentPropName="TermRow" msprop:Generator_RelationVarName="relationFK_Register_Term1" msprop:Generator_UserParentTable="Term" />
      <msdata:Relationship name="FK_TermProgram_Class" msdata:parent="Class" msdata:child="FullTermProgram" msdata:parentkey="ID" msdata:childkey="classID" msprop:Generator_UserChildTable="FullTermProgram" msprop:Generator_ChildPropName="GetFullTermProgramRows" msprop:Generator_UserRelationName="FK_TermProgram_Class" msprop:Generator_RelationVarName="relationFK_TermProgram_Class" msprop:Generator_UserParentTable="Class" msprop:Generator_ParentPropName="ClassRow" />
      <msdata:Relationship name="FK_Register_Person3" msdata:parent="FullTransaction" msdata:child="Register" msdata:parentkey="ID" msdata:childkey="studentID" msprop:Generator_UserChildTable="Register" msprop:Generator_ChildPropName="GetRegisterRows" msprop:Generator_UserRelationName="FK_Register_Person3" msprop:Generator_RelationVarName="relationFK_Register_Person3" msprop:Generator_UserParentTable="FullTransaction" msprop:Generator_ParentPropName="FullTransactionRow" />
      <msdata:Relationship name="FK_Term_Person2" msdata:parent="FullTransaction" msdata:child="Term" msdata:parentkey="ID" msdata:childkey="teacherID" msprop:Generator_UserChildTable="Term" msprop:Generator_ChildPropName="GetTermRows" msprop:Generator_UserRelationName="FK_Term_Person2" msprop:Generator_RelationVarName="relationFK_Term_Person2" msprop:Generator_UserParentTable="FullTransaction" msprop:Generator_ParentPropName="FullTransactionRow" />
      <msdata:Relationship name="FK_Transaction_Person2" msdata:parent="FullTransaction" msdata:child="Transaction" msdata:parentkey="ID" msdata:childkey="personID" msprop:Generator_UserChildTable="Transaction" msprop:Generator_ChildPropName="GetTransactionRows" msprop:Generator_UserRelationName="FK_Transaction_Person2" msprop:Generator_RelationVarName="relationFK_Transaction_Person2" msprop:Generator_UserParentTable="FullTransaction" msprop:Generator_ParentPropName="FullTransactionRow" />
      <msdata:Relationship name="FK_TeacherFreeTime_Person2" msdata:parent="FullTransaction" msdata:child="TeacherFreeTime" msdata:parentkey="ID" msdata:childkey="teacherID" msprop:Generator_UserChildTable="TeacherFreeTime" msprop:Generator_ChildPropName="GetTeacherFreeTimeRows" msprop:Generator_UserRelationName="FK_TeacherFreeTime_Person2" msprop:Generator_RelationVarName="relationFK_TeacherFreeTime_Person2" msprop:Generator_UserParentTable="FullTransaction" msprop:Generator_ParentPropName="FullTransactionRow" />
      <msdata:Relationship name="FK_PersonFile_Person1" msdata:parent="FullTransaction" msdata:child="PersonFile" msdata:parentkey="ID" msdata:childkey="personID" msprop:Generator_UserChildTable="PersonFile" msprop:Generator_ChildPropName="GetPersonFileRows" msprop:Generator_UserRelationName="FK_PersonFile_Person1" msprop:Generator_RelationVarName="relationFK_PersonFile_Person1" msprop:Generator_UserParentTable="FullTransaction" msprop:Generator_ParentPropName="FullTransactionRow" />
      <msdata:Relationship name="FK_Person_Academy2" msdata:parent="Academy" msdata:child="FullTransaction" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="FullTransaction" msprop:Generator_ChildPropName="GetFullTransactionRows" msprop:Generator_UserRelationName="FK_Person_Academy2" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Person_Academy2" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Session_Register2" msdata:parent="FullSession" msdata:child="Session" msdata:parentkey="ID" msdata:childkey="registerID" msprop:Generator_UserChildTable="Session" msprop:Generator_ChildPropName="GetSessionRows" msprop:Generator_UserRelationName="FK_Session_Register2" msprop:Generator_RelationVarName="relationFK_Session_Register2" msprop:Generator_UserParentTable="FullSession" msprop:Generator_ParentPropName="FullSessionRow" />
      <msdata:Relationship name="FK_Register_Academy1" msdata:parent="Academy" msdata:child="FullSession" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="FullSession" msprop:Generator_ChildPropName="GetFullSessionRows" msprop:Generator_UserRelationName="FK_Register_Academy1" msprop:Generator_ParentPropName="AcademyRow" msprop:Generator_RelationVarName="relationFK_Register_Academy1" msprop:Generator_UserParentTable="Academy" />
      <msdata:Relationship name="FK_Register_Person4" msdata:parent="Person" msdata:child="FullSession" msdata:parentkey="ID" msdata:childkey="studentID" msprop:Generator_UserChildTable="FullSession" msprop:Generator_ChildPropName="GetFullSessionRows" msprop:Generator_UserRelationName="FK_Register_Person4" msprop:Generator_ParentPropName="PersonRow" msprop:Generator_RelationVarName="relationFK_Register_Person4" msprop:Generator_UserParentTable="Person" />
      <msdata:Relationship name="FK_Register_Term2" msdata:parent="Term" msdata:child="FullSession" msdata:parentkey="ID" msdata:childkey="termID" msprop:Generator_UserChildTable="FullSession" msprop:Generator_ChildPropName="GetFullSessionRows" msprop:Generator_UserRelationName="FK_Register_Term2" msprop:Generator_ParentPropName="TermRow" msprop:Generator_RelationVarName="relationFK_Register_Term2" msprop:Generator_UserParentTable="Term" />
      <msdata:Relationship name="FK_Session_SessionStatus" msdata:parent="SessionStatus" msdata:child="Session" msdata:parentkey="ID" msdata:childkey="status" msprop:Generator_UserChildTable="Session" msprop:Generator_ChildPropName="GetSessionRows" msprop:Generator_UserRelationName="FK_Session_SessionStatus" msprop:Generator_ParentPropName="SessionStatusRow" msprop:Generator_RelationVarName="relationFK_Session_SessionStatus" msprop:Generator_UserParentTable="SessionStatus" />
      <msdata:Relationship name="FK_ContactDetail_ContactType" msdata:parent="ContactType" msdata:child="ContactDetail" msdata:parentkey="ID" msdata:childkey="contactTypeID" msprop:Generator_UserChildTable="ContactDetail" msprop:Generator_ChildPropName="GetContactDetailRows" msprop:Generator_UserRelationName="FK_ContactDetail_ContactType" msprop:Generator_ParentPropName="ContactTypeRow" msprop:Generator_RelationVarName="relationFK_ContactDetail_ContactType" msprop:Generator_UserParentTable="ContactType" />
      <msdata:Relationship name="FK_ContactType_Academy" msdata:parent="Academy" msdata:child="ContactType" msdata:parentkey="ID" msdata:childkey="academyID" msprop:Generator_UserChildTable="ContactType" msprop:Generator_ChildPropName="GetContactTypeRows" msprop:Generator_UserRelationName="FK_ContactType_Academy" msprop:Generator_RelationVarName="relationFK_ContactType_Academy" msprop:Generator_UserParentTable="Academy" msprop:Generator_ParentPropName="AcademyRow" />
      <msdata:Relationship name="FK_ContactDetail_Contact1" msdata:parent="Contact" msdata:child="FullContactDetail" msdata:parentkey="ID" msdata:childkey="contactID" msprop:Generator_UserChildTable="FullContactDetail" msprop:Generator_ChildPropName="GetFullContactDetailRows" msprop:Generator_UserRelationName="FK_ContactDetail_Contact1" msprop:Generator_RelationVarName="relationFK_ContactDetail_Contact1" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" />
      <msdata:Relationship name="FK_ContactDetail_ContactType1" msdata:parent="ContactType" msdata:child="FullContactDetail" msdata:parentkey="ID" msdata:childkey="contactTypeID" msprop:Generator_UserChildTable="FullContactDetail" msprop:Generator_ChildPropName="GetFullContactDetailRows" msprop:Generator_UserRelationName="FK_ContactDetail_ContactType1" msprop:Generator_RelationVarName="relationFK_ContactDetail_ContactType1" msprop:Generator_UserParentTable="ContactType" msprop:Generator_ParentPropName="ContactTypeRow" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>